forked from zerothstack/zeroth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 3.07 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: required
dist: trusty
language: node_js
node_js:
- 6.9.1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
cache:
directories:
- node_modules
branches:
except:
- "/^v[0-9\\.]+/"
before_install:
- npm install -g pr-bumper
- pr-bumper check
- cp .env.example .env
- sudo apt-get update
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- travis_retry npm install
script:
- npm test
- npm run build
after_success:
- npm run coveralls
before_deploy:
- eval "$(ssh-agent -s)"
- openssl aes-256-cbc -K $encrypted_953c8d6bcb38_key -iv $encrypted_953c8d6bcb38_iv
-in .travis/deployment.key.pem.enc -out .travis/deployment.key.pem -d
- chmod 600 .travis/deployment.key.pem
- ssh-add .travis/deployment.key.pem
- pr-bumper bump
- git fetch --tags
- npm run preparepublish
env:
global:
- secure: Ht4a2ay7PKrzH8A2WVnP6+foA+BZ7jUkK6Q3/GP0fHmxkvt7NT7Q2FN8yXGFQOk6qd6PIewbcUmhj0CG74AEyDb6F0qyKUZvv6f1YvMSDd+S0BYkPt3CkPdkpxVSaOQSPk84+JnDGXrB8roDviuw6zuqSIM6iKPCgAcLFyB1fxG0RUjpdA4MiNgL/e4IT8tncF4kR3z83etHQfgECF5CUF4rNXL0LDIIVeslW6mVzggKfao/0TvJsMsau60Cmk/CC46Vs8SUp1UwAFsRuazU/sNgGJaqeAIUelWjicbFViV8fIuUWfMvV3jM6sc3WsSeDrKixNZNvCJhbSefFX9MrvJvfSYHhhCidiRrjwC7mpng4oR7tOpXySOJKoj3/G+t32bDyyokQdI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