-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (35 loc) · 769 Bytes
/
.travis.yml
File metadata and controls
45 lines (35 loc) · 769 Bytes
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
sudo: false
language: node_js
node_js:
- "8"
branches:
only:
- master
notifications:
email:
on_failure: change
on_success: change
slack:
rooms:
- celebro:RBaf3z6RftDAVPt3TjN4QBgE#react-starter
cache:
yarn: true
directories:
- node_modules
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
# TODO: Use npm again functions runtime is updated to a node verion with lock files
- yarn install
script:
- yarn lint
- yarn test
- yarn react:build
after_success:
# - firebase deploy --token $FIREBASE_TOKEN --non-interactive
- yarn deploy
addons:
code_climate:
repo_token: 2b32652090b39c2cc95f0ea3ca3e2c7ff452b75388a81f0f4cfacbce4588f6e6