-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
31 lines (31 loc) · 1.97 KB
/
.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
addons:
ssh_known_hosts: 198.199.82.7
language: node_js
sudo: required
node_js:
- '0.12'
git:
submodules: false
depth: 2
cache:
directories:
- node_modules
before_install:
- openssl aes-256-cbc -K $encrypted_678f8f1a3ca4_key -iv $encrypted_678f8f1a3ca4_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
- echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
- ./scripts/before_install.sh
install:
- npm install -g npm
- npm install
- npm prune
script:
- npm test && ./scripts/deploy.sh
notifications:
email: false
env:
global:
- secure: IG50gM5ll3BpqYuCSOV+EztEeXpCURnyJ3fcXoi/eGD9gcvR3T5BLRBRSQb1t53/E+WdvqRbBDn4W+vEAtaquYRywtm6XAEH7++phwjS3dRdSFsnB62x9Bfn98+/TDjOxDrEGI/pwoNjOBmjfGQh0uBXGWqUOdnYQ2vYrklcQwS5ihC+AoK37YXy6hRfg7Jn2LnmBi72CMmcmt9he2Rr0v5lq/bwCaUCIzzpWeZZYcHCyMA7ylZUtI+a991Wn7QMgn0p7V/kbQ5Nbc/qNEjsPSqhxUdb0d0vxSycxTUvciZJddJhLcvVPeNP46+xS/1q7ZC0ipfw8NbL5RfsYBxzRPDdp+MtJTZy4sY7d+v8Dxc9U/BQtRS7pvH+NF8l0940ThiDBrWjZwtOkrrmaCDEVPcagosJsUcdnLnwMp2FdVxKOt/lDFRvOzTPqFSRP/3RmWaIbR5qZMuOd7BIKAr2h/htmf+R1J07ZIJSW96pVXvayxQMCWaYKmwDzKDyJeAYq1A+SEkuuFfO4chFGdVrdQDLPEkczpuCX1Jgrh3PPj0yVRy/v4MzDxdiZI1P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