Skip to content

Commit 7076f93

Browse files
committed
Make the unit tests cause the build to break
1 parent 34f33b4 commit 7076f93

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.travis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ language: go
1919

2020
before_install:
2121
# Install javascript libraries
22-
- pushd $TRAVIS_BUILD_DIR/functions; npm install --verbose; popd
23-
- pushd $TRAVIS_BUILD_DIR/functions/embargo; npm install --verbose; popd
22+
- pushd $TRAVIS_BUILD_DIR/functions
23+
- npm install --verbose
24+
- pushd embargo
25+
- npm install --verbose
26+
- popd; popd
2427

2528
# Coverage tools
2629
- go get github.com/mattn/goveralls
@@ -48,8 +51,11 @@ cache:
4851

4952
script:
5053
# Run all javascript tests.
51-
- pushd $TRAVIS_BUILD_DIR/functions; npm test; popd
52-
- pushd $TRAVIS_BUILD_DIR/functions/embargo; npm test; popd
54+
- pushd $TRAVIS_BUILD_DIR/functions
55+
- npm test
56+
- pushd embargo
57+
- npm test
58+
- popd; popd
5359

5460
# To start the Go tests, run all the non-integration tests.
5561
# Currently skipping storage tests, because they depend on GCS, and there is

0 commit comments

Comments
 (0)