File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ cache:
13
13
- $HOME/.pip-cache/
14
14
- $HOME/.selenium/
15
15
16
+ # limit the depth of the commits we clone
17
+ git :
18
+ depth : 5
19
+
16
20
addons :
17
21
firefox : " 44.0"
18
22
@@ -45,6 +49,9 @@ before_script:
45
49
- grunt
46
50
47
51
# now run the tests!
52
+ # if this is a pull request from a fork, TRAVIS_SECURE_ENV_VARS will be false, so
53
+ # just run the non-auth tests. otherwise, run everything.
48
54
script :
49
55
- nosetests
50
- - node_modules/.bin/intern-runner reporters=console config=tests/intern user="$USER" pw="$PW"
56
+ - [ "${TRAVIS_SECURE_ENV_VARS}" = "false" ] && node_modules/.bin/intern-runner reporters=console config=tests/intern functionalSuites=tests/functional-nonauth
57
+ - [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && node_modules/.bin/intern-runner reporters=console config=tests/intern user="$USER" pw="$PW"
You can’t perform that action at this time.
0 commit comments