forked from ngxs/store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 937 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: node_js
sudo: false
node_js:
- '12.0.0'
# 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:
directories:
# Cache Cypress binary
- ~/.cache
install:
- yarn install --frozen-lockfile --non-interactive
script:
# Run static analyzers
- yarn lint
- yarn eslint
# Build packages and integration app
- yarn build
- 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 5
- yarn integration:ng5
# Run integration test with Angular 9 Ivy
- yarn integration:ivy
# Run declaration files linter
- yarn test:types
# Check the size of NGXS bundle
- yarn bundlesize