-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
34 lines (33 loc) · 1.2 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
dist: jammy
language: node_js
node_js:
- lts/*
sudo: false
before_install:
- sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
install:
- npm config set prefer-offline false
- npm install -g codecov
- git clone --branch=develop --depth 1 https://github.com/enactjs/cli ../cli
- pushd ../cli
- npm install
- npm link
- popd
- npm install
- npm run bootstrap
- npm run interlink
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 -- -- --report-unused-disable-directives --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"