Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit 28fa2d8

Browse files
committed
.travis.yml: run tests only on release branches
1 parent a4eb465 commit 28fa2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ script:
3232
- if [[ "$BUILD" = "true" ]]; then npm run build ; fi
3333
- if [[ "$BUILD" = "true" ]]; then npm run deploy ; fi
3434
- if [[ "$BUILD" = "true" ]]; then npm run dist ; fi
35-
- if [[ "$TEST" = "true" && "$TRAVIS_BRANCH" != "development" ]]; then npm test ; fi
35+
- if [[ "$TEST" = "true" && "$TRAVIS_BRANCH" != "master" && "$TRAVIS_BRANCH" != "development" ]]; then npm test ; fi

0 commit comments

Comments
 (0)