We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7ad14 commit 9ee59b2Copy full SHA for 9ee59b2
.travis.yml
@@ -1,4 +1,5 @@
1
language: node_js
2
+sudo: false # defaults to sending build to container-based infrastructure on Travis
3
4
node_js:
5
- '0.10'
travis_build.sh
@@ -6,7 +6,7 @@ set -e
6
# In this case just do normal local tests
7
if [ $TRAVIS_PULL_REQUEST != "false" ]
8
then
9
- if [ $JOB = "unit" ]; then
+ if [ $JOB == "unit" ]; then
10
# Run default task
11
grunt
12
elif [ $JOB = "e2e" ]; then
@@ -18,9 +18,9 @@ then
18
# Not a pull request, run the full unit test CI suite
19
else
20
echo "travis_fold:start:Tests"
21
- if [ $JOB -eq "unit" ]; then
+ if [ $JOB = "unit" ]; then
22
grunt test:ci
23
- elif [ $JOB -eq "e2e" ]; then
+ elif [ $JOB = "e2e" ]; then
24
grunt test:ci-e2e
25
fi
26
echo "travis_fold:end:Tests"
0 commit comments