forked from ngx-formly/ngx-formly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (30 loc) · 802 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
language: node_js
sudo: false
dist: trusty
cache:
directories:
- $HOME/.npm
node_js:
- "10"
before_install:
- npm i -g npm
- "export CHROME_BIN=/usr/bin/google-chrome"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- npm ci
script:
- npm run lint
- if [ ! "$TRAVIS_PULL_REQUEST" = "false" ]; then commitlint-travis; fi
- npm run test
- npm run bundlesize
after_success:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run deploy; fi
- if [ -n "$TRAVIS_TAG" ]; then npm run github-release; fi
addons:
apt:
packages:
- google-chrome-stable
env:
global:
secure: GywEi6rCdMo68c+2aSxF31yAtciDWgQ4A++zUXKXqFFlMRrzsSlgo0+US+eT/+Kaz5CZIXIKJiWRmbPdhgJKs1rkVE7CJiZokdDdgfoEy8xAmlMhjbYN44Y0j5S9bIlhwqR9kW9kNg2sj5/Kv88bjSXehmT+RdOFfGN5gkxTzhs=