Skip to content

Commit

Permalink
Schedule periodic Travis cron jobs on YARP's devel branch
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored Jul 12, 2017
1 parent 45b7244 commit 3a0141d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ compiler:
- clang

before_install:
- '[[ "$TRAVIS_EVENT_TYPE" = cron ]] && export YARP_CHECKOUT=devel || export YARP_CHECKOUT=master'
#-- Install cmake
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install cmake; fi
#-- Install YARP deps
Expand All @@ -21,7 +22,7 @@ before_install:

install:
#-- Install yarp
- git clone https://github.com/robotology/yarp
- git clone --branch="$YARP_CHECKOUT https://github.com/robotology/yarp
- cd yarp && mkdir build && cd build
- cmake .. -DSKIP_ACE=ON
- make
Expand Down

0 comments on commit 3a0141d

Please sign in to comment.