-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (57 loc) · 3.21 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
57
sudo: required
dist: trusty
language: node_js
node_js:
- 6.2.0
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:
- openssl aes-256-cbc -K $encrypted_92b08e8fae7c_key -iv $encrypted_92b08e8fae7c_iv -in .travis/deployment_key.pem.enc -out .travis/deployment_key.pem -d
- 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)" #start the ssh agent
- chmod 600 .travis/deployment_key.pem
- ssh-add .travis/deployment_key.pem
- pr-bumper bump
- git fetch --tags # make sure travis ci has all remote tags for changelog
- npm run preparepublish
env:
global:
# pr-bumper-GITHUB_TOKEN-ubiquits/ubiquits
- secure: WeZNXT3vUR5B0eoYKnaMVV0ORHATzNkAV9+ZESCOumXHZlbBH/9lLNsTSFh2wPxWwZZXtYRo5knEV6o9sj1vQqWLua2EJN6Fxt6axEjm2Q0zhhhRsyH2OlBKF86cvdwUq97xmVJ1x2jUZkfSTXNjf9CIBmnjTLF/+PoytLAanD4Sz4loKaUKHzxpZHhQ28RmwdivmOx1sIMDWdfHw1UvFduSrSPELqg7ZaB8a0CX+jJ8WNjm4i1uqEWCS2G/0ezPVrYsFbxZ7eTl3zQ+ebIMP7vnE1qGzmS5ArFF9LaRMpIQgkMjY1IrMsuK1P/vYM68glqUnvn76FmobEMJ6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
email: [email protected]
skip_cleanup: true
api_key:
secure: NTQtLuxaOqwgfTRBdki8KrQOWfTgoWt2VV+wxyykfk3TD6SCVVnEpBhcwqoIQR8CHyRANC9G1pxV1tRvZKfew5aPXatXkamWFSwnbFf878wi9kndqIKIYTKY+QwqFHTAoPg6T354jv0sOOd4018DCnA7gfoOr45P8VDrSN/77Vm6OasI7bMIoJGToHbt+MD+QGD1Q7EDDR6bHYkemY9XvUwyGYSaYXLmybpTwzWe1oW1xJ7PjQuE4KspGqN64rIK6QPj0H7pmx9F2mrUlNwakfQaVThSF2c8toSNsRcXtGW4AsE0eiKRcyQprEwojggUoJFPSR/iOLlFrWx4h2UvYjK2vyjDWXOnVRkMbKAj+ifXhpmiKm8tfWGKb2fGLKDAwthD2xVjkWMAQYb4I26fKQVp58q5gOS/AzBUERpBFzRzL7GhSZ1N6fxkjskKI6FNJs4J8+Zm6kqeCsSwYMD1NKYGk23FTbnUM80Cbg3VLCfr/2nXm6WT5ZYfNhC1HaGBRDrYIuHTWF0iXx0POsdBm43ZJQEE4xoP2zMMdiSh+FxFf3CNs4lGf2fm9g8mXO3oMTI5E7d07wJKCI3Ssqcp2DgfyUa6iF3ygwBgBFaT0OneUg1tFKsMjisU+g7uXq0mZTyBWTO0BMfz5nTPrtztFii2W/uxfSOdrIm/mJi6AqQ=
on:
branch: master
tags: false