Skip to content

Commit

Permalink
fix the build for PRs (was always using master)
Browse files Browse the repository at this point in the history
See comments on this travis-ci ticket
travis-ci/travis-ci#6652
  • Loading branch information
ben-farnham committed Jul 31, 2018
1 parent 114a148 commit 0fc83e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ before_install:
script:
- docker run --interactive --tty bfarnham/quasar:quasar-open62541 /bin/sh -c "
echo '********************************************************************' ;
echo branch $TRAVIS_BRANCH ;
echo branch ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} ;
echo '********************************************************************' ;
git clone -b $TRAVIS_BRANCH https://github.com/quasar-team/CanModule.git ;
git clone -b ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} https://github.com/quasar-team/CanModule.git ;
mkdir CanModule/build-release && cd CanModule/build-release ;
apt-get install --quiet --assume-yes libsocketcan ;
apt-get install --quiet --assume-yes libsocketcan-dev ;
Expand Down

0 comments on commit 0fc83e1

Please sign in to comment.