forked from prabaprakash/Micro-Frontends
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (38 loc) · 769 Bytes
/
.travis.yml
File metadata and controls
45 lines (38 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: required
dist: trusty
language: node_js
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
jdk:
- oraclejdk8
os:
- linux
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
node_js:
- 8
- 6
script:
- npm install pm2 -g
- npm run test
- npm run prod
- npm run serve
- npm run featuretest
after_success: npm run coverage
notifications:
email:
on_failure: change
cache:
yarn: true
directories:
- node_modules