set PATH inside docker

This commit is contained in:
Jorge Aparicio 2016-08-08 21:02:07 -05:00
parent 95eb812d38
commit cc0f2acf76

View File

@ -39,7 +39,10 @@ main() {
-e TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
-v $(pwd):/mnt \
ubuntu:16.04 \
sh -c "cd /mnt; bash ci/install.sh; bash ci/script.sh"
sh -c 'cd /mnt;
export PATH="$PATH:$HOME/.cargo/bin";
bash ci/install.sh;
bash ci/script.sh'
else
build
run_tests