Newer
Older
George Secrieru
committed
- mkdir -p node_modules
- export TAG=$(git describe --abbrev=0 --tags)
- export SANDSTORM_VERSION=$(curl -f "https://install.sandstorm.io/dev?from=0&type=install")
- export PATH=$PATH:/tmp/sandstorm-$SANDSTORM_VERSION/bin
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then echo "Building PR $TRAVIS_PULL_REQUEST"; meteor build ../build; exit $?; fi
- meteor build ../build
- cp ../build/Rocket.Chat.tar.gz /home/vagrant
- cd .travis
- sh ./namefiles.sh
deploy:
provider: s3
access_key_id: "AKIAIKIA7H7D47KUHYCA"
secret_access_key: $ACCESSKEY
bucket: "rocketchatbuild"
skip_cleanup: true
local_dir: ../build
on: