-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
27 lines (27 loc) · 971 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
dist: focal
language: node_js
node_js:
- lts/*
- node
sudo: false
install:
- npm config set prefer-offline false
- git clone --branch=develop --depth 1 https://github.com/enactjs/cli ../cli
- pushd ../cli
- npm install
- npm link
- popd
- npm install --legacy-peer-deps
script:
- echo -e "\x1b\x5b35;1m*** Linting docs...\x1b\x5b0m"
- npm run lint -- -- --report-unused-disable-directives --max-warnings 0 .
- echo -e "\x1b\x5b35;1m*** Linting complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Parsing docs...\x1b\x5b0m"
- npm run parse
- echo -e "\x1b\x5b35;1m*** Parsing complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Building sample runner...\x1b\x5b0m"
- npm run make-runner
- echo -e "\x1b\x5b35;1m*** Building sampler runner complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Generating docs...\x1b\x5b0m"
- npm run build
- echo -e "\x1b\x5b35;1m*** Doc generation complete\x1b\x5b0m"