-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (48 loc) · 1.26 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
group: edge
language: node_js
node_js:
- 6
- 7
- 8
install: true
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt update
- sudo apt install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
before_script:
- npm i -g yarn
- yarn global add npm-check-updates
script:
- export ROOT=$PWD
- >
for path in 15-custom-element-template \
14-PWA-load-fast \
13-PWA-responsive \
11-auto-binding \
10-iron-pages \
09-toolbar \
08-core-icons \
07-DOM-and-lifecycle \
06-dom-repeat-and-filter \
05-scoped-styles \
04-content \
03-observables \
02-computed-properties \
01-data-binging \
0-template-2 \
0-template; do
export TARGET="$ROOT/$path"
cd $TARGET
yarn predeploy
if [ -f npm-debug.log ]; then cat npm-debug.log; fi
ncu -u
yarn upgrade
done;
cache:
directories:
- node_modules/
- $HOME/.npm