forked from valor-software/ng2-dragula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (40 loc) · 1.05 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
# https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai
dist: trusty
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- "9"
cache: yarn
# env:
# global:
# - SAUCE_USERNAME=valorkin
# - SAUCE_ACCESS_KEY=aeaf806e-ad5c-484b-a8fe-4b4b9f54e99a
script:
- yarn
- yarn lerna run clean
- yarn lerna bootstrap
- (cd modules/ng2-dragula && yarn test-coverage)
- (cd modules/ng2-dragula && yarn build)
- (cd modules/demo && yarn build --prod --progress=false)
after_success:
- cd modules/ng2-dragula && yarn codecov
deploy:
provider: pages
fqdn: valor-software.com
skip_cleanup: true
local_dir: modules/demo/dist/demo
github_token: $GH_TOKEN # Set in travis-ci.org dashboard
on:
branch: master
# addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
# sauce_connect: true
# firefox: "latest"
# apt:
# sources:
# - ubuntu-toolchain-r-test
# # required by node-gyp to build some packages
# packages:
# - g++-4.8