-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
51 lines (51 loc) · 1003 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
sudo: false
language: node_js
node_js:
- '6'
services:
- mongodb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
- CXX=g++-4.8
branches:
only:
- '/^v[0-9]/'
cache:
yarn: true
bundler: true
directories:
- node_modules
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
before_script:
- yarn run build
script:
- env NODE_ENV=test yarn test
after_success:
- yarn run coverage
- 'yarn run mocha:json'
- bash <(curl -s https://codecov.io/bash) -t CODEFRESH_TOKEN
- 'bash <(curl -s https://codecov.octoblu.com/bash)'
deploy:
provider: s3
access_key_id: AWS_ACCESS_KEY_ID
secret_access_key:
secure: >-
AWS_SECRET_ACCESS_KEY
bucket: octoblu-channels
region: us-west-2
local-dir: assets/json
skip_cleanup: true
acl: private
on:
tags: true
branches: true
notifications:
webhooks:
- 'https://beekeeper.octoblu.com/webhooks/travis:ci'