-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (47 loc) · 832 Bytes
/
.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
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
node_js:
- 6
- 7
- 8
- 9
- stable
- node
install: true
before_install:
- sudo apt update
- sudo apt install -y python-pip curl jq libxml2-utils
- sudo pip install httpie
- npm i -g yarn npm-check-updates
script:
- bash gradlew clean build
- export ROOT=$PWD
- >
for path in \
express-jsonwebtoken \
node-express-coffee \
node-basics \
cqrs-example \
; do
cd "$ROOT/$path"
yarn -i
yarn build
ncu -u
done;
cache:
npm: true
yarn: true
directories:
- /usr/local/lib/
- $HOME/.cache/
- $HOME/.nvm/
- $HOME/.gradle/
- 01-node-example/node_modules/
- node-basics/node_modules/