-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
66 lines (59 loc) · 1.53 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
59
60
61
62
63
64
65
66
language: node_js
node_js:
- "8.11.1"
sudo: false
install:
- echo 'skip installation'
cache:
directories:
- src/node_modules
- src/feature-tests/node_modules
- src/packages/babel-preset-dev-toolkit/node_modules
- src/packages/babel-runner/node_modules
- src/packages/dev-toolkit/node_modules
- src/packages/eslint-config-dev-toolkit/node_modules
- src/templates/minimal/node_modules
- src/templates/serverless/node_modules
- src/templates/standard/node_modules
- src/templates/with-eslint/node_modules
- src/templates/with-sass/node_modules
jobs:
include:
- stage: Testing dev-toolkit...
env: Run feature-tests
script:
- cd src
- cd feature-tests
- npm install
- npm run test
- stage: Testing dev-toolkit...
env: Test bootstrapping the project
script:
- cd src
- npm install
- npm run bootstrap
- stage: Testing dev-toolkit...
env: Lint feature-tests
script:
- cd src
- cd feature-tests
- npm install
- npm run lint
- stage: Testing dev-toolkit...
env: Lint packages
script:
- cd src/packages/babel-runner
- npm install
- npm run lint
- cd ../..
- cd packages/dev-toolkit
- npm install
- npm run lint
- cd ../..
- stage: Testing dev-toolkit...
env: Lint templates
script:
- cd src/templates/with-eslint
- npm install
- npm run lint
- cd ../..