-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
40 lines (35 loc) · 914 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
language: node_js
node_js:
- 10.16.0
install:
- npm install
before_script:
- npm prune
script:
- ng lint ngx-cleave-directive
- ng test ngx-cleave-directive
- ng build ngx-cleave-directive --prod
- ng lint ngx-lower-case-directive
- ng test ngx-lower-case-directive
- ng build ngx-lower-case-directive --prod
- ng lint ngx-trim-directive
- ng test ngx-trim-directive
- ng build ngx-trim-directive --prod
- ng lint ngx-upper-case-directive
- ng test ngx-upper-case-directive
- ng build ngx-upper-case-directive --prod
- ng lint ngx-lodash-pipes
- ng build ngx-lodash-pipes --prod
- ng build ngx-let-directive --prod
- ng build --prod --base-href /packages/
- cp dist/packages/index.html dist/packages/404.html
deploy:
provider: pages
local-dir: dist/packages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
branches:
only:
- master