-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy path.travis.yml
36 lines (30 loc) · 888 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
sudo: required
node_js:
- '8.11.1'
notifications:
slack: focallocal:njis5lKnuOTF1dp8W7HiTn8I
cache:
directories:
- $HOME/.meteor
before_cache:
- rm -f $HOME/.meteor/log/*.log
before_install:
# Remove cache if the project is upgraded to a newer version of meteor
- export PATH="$HOME/.meteor:$PATH"
- openssl enc -d -aes-256-cbc -md md5 -in deploy.tar.enc -out deploy.tar -k "$encrypted_key_master"
- openssl enc -d -aes-256-cbc -md md5 -in secrets.tar.enc -out secrets.tar -k "$encrypted_key_master"
- tar xf secrets.tar
- tar xzf deploy.tar
- head -n 1 id_rsa_focal_deploy.pem
- ssh deploy@focallocal.org -i ./id_rsa_focal_deploy.pem 'hostname'
- ls -hal
- npm install -g mup
- curl https://install.meteor.com/?release=1.6.1.1 | /bin/sh
branches:
only:
- master
- fl-sleeper
script:
#- npm test
- mup deploy