Skip to content

Commit

Permalink
* Add scenario for travis-ci
Browse files Browse the repository at this point in the history
        For issue #9
  • Loading branch information
yoogx committed Dec 26, 2016
1 parent 3bb9ca3 commit 42513d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build_ocarina.sh
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ usage() {
echo "Scenarios, specific combination of parameters"
echo " --scenario=<name> : run a specific scenario"
echo ""
echo " Valid names are coverage fresh-install nightly-build taste "
echo " Valid names are coverage fresh-install nightly-build taste travis-ci"
echo " See source code for details on actual parameters"
}

Expand Down Expand Up @@ -448,6 +448,15 @@ case $scenario in
build_ocarina="yes"
;;

travis-ci)
# In this scenario, we do a fresh install of Ocarina, the user
# may override the installation prefix using --prefix
build_ocarina_from_scratch="yes"
update_ocarina="yes"
build_ocarina="yes"
test_ocarina="yes"
;;

nightly-build)
update_ocarina="yes"
build_ocarina="yes"
Expand Down

0 comments on commit 42513d6

Please sign in to comment.