Skip to content
Snippets Groups Projects
Commit 293b2c97 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

fixing tar command

parent 1656ed2c
No related merge requests found
......@@ -7,13 +7,18 @@ branches:
- even-faster-deploy
node_js:
- '0.12'
cache:
directories:
- ~/.meteor
before_install:
- curl https://install.meteor.com | /bin/sh
- npm install -g npm@'>=2.13.5'
- mkdir -p node_modules
install:
- curl https://install.meteor.com | /bin/sh
before_script:
- mkdir /tmp/build
script:
- cd $TRAVIS_BUILD_DIR
- mkdir /tmp/build
- meteor build /tmp/build
before_deploy:
- mkdir /tmp/deploy
......
......@@ -28,7 +28,7 @@ export METEOR_DEV_BUNDLE=$(dirname $(readlink -f "$METEOR_WAREHOUSE_DIR/meteor")
sudo mkdir -p /home/vagrant
sudo chown -R travis /home/vagrant
tar -zxf /tmp/build/Rocket.Chat.tar.gz /home/vagrant/
tar -zxf /tmp/build/Rocket.Chat.tar.gz --directory /home/vagrant/
cd /home/vagrant/bundle/programs/server && "$METEOR_DEV_BUNDLE/bin/npm" install
cd $TRAVIS_BUILD_DIR/.sandstorm
sed -i "s/\sid = .*/$SANDSTORM_ID/" sandstorm-pkgdef.capnp
......
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