Skip to content

Commit

Permalink
Change PATH during travis builds
Browse files Browse the repository at this point in the history
During the execution of dislocker-find, the loader will call the first
ruby binary in the PATH, which can have a different ruby version against
which dislocker has been build with.
The problem is due to rvm being installed in the ubuntu VM of travis-ci,
but not fully installed.
Thus this commit to try and fix the path from which ruby will be called.
  • Loading branch information
Aorimn committed Oct 23, 2016
1 parent 981d5b7 commit 165db2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ os:
- linux
- osx

env:
global:
- PATH="/usr/bin:/usr/local/bin:$PATH"

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -qq libfuse-dev libpolarssl-dev ruby-dev; fi
Expand Down

0 comments on commit 165db2e

Please sign in to comment.