forked from ReactiveX/rxjs-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (33 loc) · 710 Bytes
/
.travis.yml
File metadata and controls
43 lines (33 loc) · 710 Bytes
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
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
node_js:
- "7"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_install:
- npm install -g npm@5
script:
- if [ -n "DANGER_GITHUB_API_TOKEN" ]; then echo {} > ./.babelrc && npx danger; fi
- ng lint
- ng test --single-run --code-coverage
- ng build --prod
- ng e2e
before_deploy:
- rm -rf ./dist
- ng build
- yes | rm *.* && rm -rf ./e2e ./node_modules ./src
- cp -r ./dist/* ./
deploy:
provider: azure_web_apps
verbose: true
skip_cleanup: true
after_success:
- bash <(curl -s https://codecov.io/bash)