Skip to content

Commit 7eb0998

Browse files
use yarn for travis
1 parent ec50da4 commit 7eb0998

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
build
33
build_packages
44
site
5+
yarn.lock
56

67
# common
78
**/.*

.travis.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,29 @@ language: node_js
22
node_js:
33
- "4.1"
44

5+
cache:
6+
yarn: true
7+
bundler: true
8+
directories:
9+
- $HOME/.yarn-cache
10+
- $HOME/.cache/yarn
11+
- node_modules
12+
13+
before_install:
14+
- curl -o- -L https://yarnpkg.com/install.sh | bash
15+
- export PATH="$HOME/.yarn/bin:$PATH"
16+
17+
install:
18+
- yarn
19+
520
before_script:
621
- export DISPLAY=:99.0
722
- sh -e /etc/init.d/xvfb start
8-
- npm install -g karma
923
- ./nodeserver.sh > /dev/null &
1024

1125
script:
12-
- npm run test
26+
- tsc
27+
- yarn test
1328

1429
sudo: false
1530

@@ -18,3 +33,4 @@ git:
1833

1934
notifications:
2035
slack: angularbuddies:b6leQM9gkBCW0S7MNDsELpqU
36+

0 commit comments

Comments
 (0)