forked from ngxs/store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (51 loc) · 1.41 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
sudo: false
node_js:
- '14.16.1'
# Since Travis is running on the Ubuntu 16+
# this library is necessary
# see https://github.com/cypress-io/cypress/issues/4069#issuecomment-488816887
addons:
apt:
packages:
- libgconf-2-4
cache: false
env:
global:
- CYPRESS_CACHE_FOLDER = "~/.cache/Cypress"
install:
- yarn install --frozen-lockfile --non-interactive
script:
# Run static analyzers
- yarn lint
- yarn eslint
# Build packages and integration app
- yarn build
# Angular 6 ... Angular 8
# should start before building Angular 9,
# because Angular 9 CLI mutates parent packages
- yarn integration:ng6
- yarn integration:ng7
- yarn integration:ng8
- yarn build:integration
- yarn build:integration:ssr
# Run unit, E2E and SSR tests
- yarn test:ci
- yarn test:ci:integration
- yarn test:ci:e2e
- yarn test:ci:integration:ssr
# Run integration test with Angular 9 Ivy On, Off
- yarn integration:ng9:ivy
- yarn integration:ng9:ivy:off
# Run integration test with Angular 10 Ivy On,Off
- yarn integration:ng10:ivy
- yarn integration:ng10:ivy:off
# Run integration test with Angular 11 Ivy On,Off
- yarn integration:ng11:ivy
- yarn integration:ng11:ivy:off
# Run integration test with Angular 12 Ivy On
- yarn integration:ng12:ivy
# Run declaration files linter
- yarn test:types
# Check the size of NGXS bundle
- yarn bundlesize