-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
48 lines (48 loc) · 1.62 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
dist: focal
language: node_js
node_js:
- lts/*
- node
sudo: false
install:
- git clone --branch=develop --depth 1 https://github.com/enactjs/cli ../cli
- pushd ../cli
- npm install
- npm link
- popd
- npm install
script:
- echo -e "\x1b\x5b35;1m*** Starting eslint...\x1b\x5b0m"
- rm tutorial-typescript -rf # Skip the test until CLI fixed the related issue(WRO-521)
- npm run lint
- echo -e "\x1b\x5b35;1m*** eslint complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting agate/all-samples build...\x1b\x5b0m"
- cd agate/all-samples
- npm install
- npm run pack
- cd ../../
- echo -e "\x1b\x5b35;1m*** agate/all-samples build complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting moonstone/all-samples build...\x1b\x5b0m"
- cd moonstone/all-samples
- npm install
- npm run pack
- cd ../../
- echo -e "\x1b\x5b35;1m*** moonstone/all-samples build complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting sandstone/all-samples build...\x1b\x5b0m"
- cd sandstone/all-samples
- npm install
- npm run pack
- cd ../../
- echo -e "\x1b\x5b35;1m*** sandstone/all-samples build complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting ui/all-samples build...\x1b\x5b0m"
- cd ui/all-samples
- npm install
- npm run pack
- cd ../../
- echo -e "\x1b\x5b35;1m*** ui/all-samples build complete\x1b\x5b0m"
- echo -e "\x1b\x5b35;1m*** Starting my-theme-app build...\x1b\x5b0m"
- cd my-theme-app
- npm install
- npm run pack
- cd ../../
- echo -e "\x1b\x5b35;1m*** my-theme-app build complete\x1b\x5b0m"