Skip to content

Commit

Permalink
Run same kind of tests for PR and regular branches + disable integ tests
Browse files Browse the repository at this point in the history
-- integration tests will be replaced with unit tests backed by a mock web server
  • Loading branch information
marcinqualaroo committed Sep 7, 2018
1 parent 0e62fae commit 184b110
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -12,8 +12,7 @@ jdk:
- oraclejdk8

script:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then export TEST_TYPE="unit"; bash ./gradlew check; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ $API_KEY ]; then export TEST_TYPE="integ"; bash ./gradlew integTest; fi'
- export TEST_TYPE="unit"; bash ./gradlew check

after_success:
- ./gradlew jacocoTestReport coveralls

0 comments on commit 184b110

Please sign in to comment.