Use travis to set the PATH properly

This commit is contained in:
Henrik Tjäder 2020-06-02 20:25:33 +00:00
parent 7e01b1a08e
commit f6bce2110f
2 changed files with 1 additions and 2 deletions

View file

@ -37,6 +37,7 @@ before_install:
install: install:
- bash ci/install.sh - bash ci/install.sh
- export PATH="$PATH:$PWD/qemu" - export PATH="$PATH:$PWD/qemu"
- export PATH="$PATH:$PWD/mdbook-bin"
script: script:
- bash ci/script.sh - bash ci/script.sh

View file

@ -27,8 +27,6 @@ main() {
tar -xf mdbook.tar.gz tar -xf mdbook.tar.gz
mkdir -p mdbook-bin mkdir -p mdbook-bin
mv mdbook mdbook-bin/ mv mdbook mdbook-bin/
PATH=$(pwd)/mdbook-bin:$PATH
which mdbook
#install_crate mdbook 0.3.1 #install_crate mdbook 0.3.1
} }