-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (46 loc) · 1.24 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
58
language: node_js
sudo: required
node_js:
- node
apt:
sources:
- google-chrome
packages:
- python
- golang
- google-chrome-stable
- google-chrome-beta
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get install google-chrome-stable
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- set -e
- pip install --user google-oauth2l --upgrade
- npm install -g firebase-tools
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
- yarn
# No need these two lines if you use latest version of node
# - npm install
# - npm update
script:
- echo "......."
# after_success:
# - firebase deploy — angularheroes-2565e — token $FIREBASE_TOKEN
deploy:
provider: firebase
skip_cleanup: true
token: $FIREBASE_TOKEN
project: angularheroes-2565e
# Uncomment to allow notifications
# notifications:
# email:
# recipients:
# on_failure: change
# on_success: always