Skip to content

Commit 9ee59b2

Browse files
committed
WIP: Get builds running on Travis
1 parent cd7ad14 commit 9ee59b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
2+
sudo: false # defaults to sending build to container-based infrastructure on Travis
23

34
node_js:
45
- '0.10'

travis_build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
# In this case just do normal local tests
77
if [ $TRAVIS_PULL_REQUEST != "false" ]
88
then
9-
if [ $JOB = "unit" ]; then
9+
if [ $JOB == "unit" ]; then
1010
# Run default task
1111
grunt
1212
elif [ $JOB = "e2e" ]; then
@@ -18,9 +18,9 @@ then
1818
# Not a pull request, run the full unit test CI suite
1919
else
2020
echo "travis_fold:start:Tests"
21-
if [ $JOB -eq "unit" ]; then
21+
if [ $JOB = "unit" ]; then
2222
grunt test:ci
23-
elif [ $JOB -eq "e2e" ]; then
23+
elif [ $JOB = "e2e" ]; then
2424
grunt test:ci-e2e
2525
fi
2626
echo "travis_fold:end:Tests"

0 commit comments

Comments
 (0)