Skip to content
Snippets Groups Projects
.travis.yml 884 B
Newer Older
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
sudo: required
language: node_js
S. Li's avatar
S. Li committed
branches:
westmakaha's avatar
westmakaha committed
  only:
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
node_js:
Gabriel Engel's avatar
Gabriel Engel committed
cache:
  directories:
    - ~/.meteor
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
before_install:
Gabriel Engel's avatar
Gabriel Engel committed
- npm install -g npm@'>=2.13.5'
Gabriel Engel's avatar
Gabriel Engel committed
install:
- curl https://install.meteor.com | /bin/sh
before_script:
- mkdir /tmp/build
- meteor build /tmp/build
before_deploy:
- mkdir /tmp/deploy
Gabriel Engel's avatar
Gabriel Engel committed
- .travis/namefiles.sh
- .travis/sandstorm.sh
Gabriel Engel's avatar
Gabriel Engel committed
deploy:
  - provider: s3
    access_key_id: "AKIAIKIA7H7D47KUHYCA"
    secret_access_key: $ACCESSKEY
    bucket: "rocketchatbuild"
    skip_cleanup: true
    local_dir: /tmp/deploy
    on:
      branch:
      - develop
  - provider: s3
    access_key_id: "AKIAIKIA7H7D47KUHYCA"
    secret_access_key: $ACCESSKEY
    bucket: "rocketchatbuild"
    skip_cleanup: true
    local_dir: /tmp/deploy
    on:
      tags: true
      branch:
      - master
after_deploy:
Gabriel Engel's avatar
Gabriel Engel committed
- .travis/docker.sh