Skip to content

Commit 3af4826

Browse files
chore(travis): use xvfb and always test downstreams
1 parent 2977f3d commit 3af4826

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.travis.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,19 @@
11
language: node_js
22
node_js: 8.9.1
3-
before_install:
4-
- sh -e /etc/init.d/xvfb start
5-
- yarn global add greenkeeper-lockfile@1 yalc
6-
install: yarn --check-files
7-
before_script: greenkeeper-lockfile-update && greenkeeper-lockfile-upload
3+
before_install: sh -e /etc/init.d/xvfb start
84
script:
95
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package
106
.downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core
117
; fi
12-
- if [ "x${DOWNSTREAM_PKGS}${DOWNSTREAM}x" != "xx" ] ; then yarn test:downstream ;
13-
else tsc && yarn test; fi
8+
- tsc
9+
- yarn test
10+
- yarn test:downstream
1411
env:
1512
global:
1613
secure: SwGGqOsUVNWKRjWyT3Nn+8NyCR5JQf9ep2yPJgAqExcWjjSLSPuj7WekLj8e5Aj8TUJZ3gMOQ1Pcs2WKBn8eLn/UxOAUqY259pGeHwd2T/28dt9bZO4Hzixr71fchbBwp+6ZLb8Mi/b4tsAbDX3Qz6eIxZ+h+xSNSoidOIOLmahTsKe8XI6YJllc8vY25v03tDS8M0bIOSx7Ggl75Hn1usfXEcgLbAcYhkttvezKQq6O78hut0v83FBkJXBtcDDIcHjL4o51jvYzKHhZbfAZ1eoXB03x4p6ZkFFPrh9kze173J8eN9DTGojd+ChiFqCU3O5vpkgRI61tfXoA2iT2tonCBgosO380wvE/lg4uTR8nZc+ijZPHk08MEgA44X6uYabAxntt/F731lrNKjxDU0skVlY9v3CdMsUvycjwDLz4VV4IcLwEBnQUAwVIDhQ9YtuBZGIQpfJFivqvUcFlcySq6S/GRj5PlcUJUWkw8DiWbBPLmf+bG4nACl1mpj+M73rcE6vB5q4BYZdmuGqz2T+ebdNk5U4whENeASSkBYfc2FeDB6byjKtP3vljKDErwC9dZy6qzvt8EgDBzc6rr6FgYdemAx/qXNTcVr82nPQa6BOwn3M12yBBOjQi/KkrgIifqA45so8IxXZdpUinLdKPDqpKoCrXaaVqB5kfzjU=
1714
matrix:
1815
- CORE_BRANCH=
19-
- CORE_BRANCH=master
20-
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
21-
- DOWNSTREAM=true
22-
matrix:
23-
fast_finish: true
24-
allow_failures:
25-
- env: CORE_BRANCH=
26-
- env: DOWNSTREAM=true
27-
- env: CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
16+
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
2817
notifications:
2918
slack:
3019
on_success: never

0 commit comments

Comments
 (0)