forked from binci/binci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (40 loc) · 842 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
sudo: required
services:
- docker
language: node_js
node_js:
- "6"
notifications:
email:
on_success: never
on_failure: always
before_install:
- yarn add global binci
install:
- binci install
script:
- binci test
after_success:
- sudo chmod -R 777 node_modules/ && sudo chmod -R 777 ~/.npm
- yarn global add codecov
- codecov -f coverage/lcov.info
deploy:
- provider: script
skip_cleanup: true
script: yarn global add pkg
on:
branch: master
- provider: script
skip_cleanup: true
script: yarn run build
on:
branch: master
- provider: s3
skip_cleanup: true
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: binci.technologyadvice.com
local-dir: bin
acl: public_read
on:
branch: master