forked from enactjs/enact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (28 loc) · 985 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
language: node_js
node_js:
- "lts/*"
sudo: false
cache:
directories:
- $(npm config get cache)
install:
- npm config set prefer-offline true
- npm install -g enactjs/cli#develop
- npm install -g codecov
- npm install
- npm run bootstrap
script:
- echo -e "\x1b\x5b35;1m*** Starting tests...\x1b\x5b0m"
- npm test -- -- -- --runInBand --coverage
- codecov
- echo -e "\x1b\x5b35;1m*** Tests complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting eslint...\x1b\x5b0m"
- npm run lerna -- run lint -- -- -- --max-warnings 0 .
- echo -e "\x1b\x5b35;1m*** eslint complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting docs validation...\x1b\x5b0m"
- npm run validate-docs
- echo -e "\x1b\x5b35;1m*** Docs validation complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting sampler builds...\x1b\x5b0m"
- cd packages/sampler
- npm run pack
- echo -e "\x1b\x5b35;1m*** sampler build complete\x1b\x5b0m"