File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 64
64
"yiewd" : " ^0.6.0"
65
65
},
66
66
"scripts" : {
67
- "postinstall" : " bower install" ,
68
- "test" : " ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
67
+ "test" : " bower install && ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
69
68
},
70
69
"version" : " 0.11.1" ,
71
70
"main" : " dist/typeahead.bundle.js"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -x
2
2
3
3
if [ " $TEST_SUITE " == " unit" ]; then
4
+ bower install
4
5
./node_modules/karma/bin/karma start --single-run --browsers PhantomJS
5
6
elif [ " $TRAVIS_SECURE_ENV_VARS " == " true" -a " $TEST_SUITE " == " integration" ]; then
7
+ bower install
6
8
./node_modules/.bin/static -p 8888 &
7
9
sleep 3
8
10
# integration tests are flaky, don't let them fail the build
You can’t perform that action at this time.
0 commit comments