Skip to content

Commit 00f2de7

Browse files
authored
Merge pull request #168 from stephennancekivell/travis-angular-1.5-and-1.6
use travis-ci to run tests for both angular 1.5 and 1.6
2 parents 29caa3c + d9f0127 commit 00f2de7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ notifications:
66
node_js:
77
- "6"
88

9+
env:
10+
- ANGULAR_VERSION=1.5.11
11+
- ANGULAR_VERSION=1.6.5
12+
913
before_install:
1014
- export CHROME_BIN=/usr/bin/google-chrome
1115
- export DISPLAY=:99.0
@@ -14,6 +18,9 @@ before_install:
1418
- sudo apt-get install -y libappindicator1 fonts-liberation
1519
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
1620
- sudo dpkg -i google-chrome*.deb
21+
- npm install -g json
22+
- json -I -f package.json -e 'this.dependencies.angular="'$ANGULAR_VERSION'"'
23+
- json -I -f bower.json -e 'this.dependencies.angular="'$ANGULAR_VERSION'"'
1724

1825
before_script:
1926
- grunt connect:test:keepalive &

0 commit comments

Comments
 (0)