File tree 2 files changed +22
-2
lines changed
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,30 @@ before_script:
6
6
- export DISPLAY=:99.0
7
7
- sh -e /etc/init.d/xvfb start
8
8
- npm install -g karma
9
- - npm install -g grunt-cli
9
+ - npm install -g typescript
10
10
- ./nodeserver.sh > /dev/null &
11
11
12
+ matrix :
13
+ allow_failures :
14
+ - env : CORE_BRANCH=
15
+
16
+ env :
17
+ matrix :
18
+ # CORE_BRANCH env variable specifies the branch of ui-router-core to use during build/test
19
+ # Each CORE_BRANCH listed here will trigger a SEPARATE job in travis
20
+ - CORE_BRANCH=master
21
+
22
+ # If CORE_BRANCH is empty, it will use the ui-router-core from npm dependencies
23
+ # (as specified in package.json)
24
+ - CORE_BRANCH=
25
+
12
26
script :
13
- - npm run test:integrate
27
+ - echo "CORE_BRANCH = x${CORE_BRANCH}x";
28
+ - >
29
+ if [ "x${CORE_BRANCH}x" != "xx" ] ; then
30
+ git clone --depth=10 --branch="${CORE_BRANCH}" https://github.com/ui-router/core.git ui-router-core && npm install ./ui-router-core ;
31
+ fi
32
+ - npm test
14
33
15
34
sudo : false
16
35
Original file line number Diff line number Diff line change 1
1
{
2
+
2
3
"name" : " ui-router" ,
3
4
"description" : " State-based routing for Javascript" ,
4
5
"version" : " 1.0.0-beta.4" ,
You can’t perform that action at this time.
0 commit comments