Skip to content
Snippets Groups Projects
Commit 3378bd78 authored by S. Li's avatar S. Li
Browse files

fix PATH env var

parent 0af7464f
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,8 @@
set -euo pipefail
export SANDSTORM_VERSION=$(curl -f "https://install.sandstorm.io/dev?from=0&type=install")
cd /tmp
curl https://dl.sandstorm.io/sandstorm-$SANDSTORM_VERSION.tar.xz | tar -xJf -
export PATH=$PATH:${PWD}/sandstorm-$SANDSTORM_VERSION/bin
sudo mkdir -p /home/vagrant
sudo chown -R travis /home/vagrant
sudo mkdir -p /opt
......
......@@ -12,6 +12,8 @@ before_install:
- mkdir -p node_modules
- cd $TRAVIS_BUILD_DIR
- mkdir ../build
- export SANDSTORM_VERSION=$(curl -f "https://install.sandstorm.io/dev?from=0&type=install")
- export PATH=$PATH:/tmp/sandstorm-$SANDSTORM_VERSION/bin
- cd .sandstorm
- ./preprcbuild.sh
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment