-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (36 loc) · 867 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
language: node_js
node_js:
- 10.16.0
addons:
ssh_known_hosts:
- "$QA_SERVER"
branches:
only:
- master
# before_install:
# - openssl aes-256-cbc -K $encrypted_08df46a23f94_key -iv $encrypted_08df46a23f94_iv
# -in deploy_key.enc -out deploy_key -d
# - eval "$(ssh-agent -s)"
# - chmod 600 deploy_key
# - ssh-add deploy_key
before_script:
# - echo -e "Host $QA_SERVER\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- npm install -g @angular/cli
- npm install -g bower
- npm install -g firebase-tools
script:
- cd client
- npm install
- npm run build-ci
- cd ../
# deploy:
# skip_cleanup: true
# provider: script
# script: chmod +x .travis/deploy.sh && .travis/deploy.sh $QA_SERVER
# on:
# branch: master
notifications:
slack:
rooms:
- engagelab:SQxy4szJPRe7nn1w8Thn4ygl#code
- engagelab:SQxy4szJPRe7nn1w8Thn4ygl#opening-pathways-dev