Skip to content

Commit

Permalink
[ci] call travis+circleci tests the right way.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Jun 21, 2017
1 parent af90fcb commit 1fd3f5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ env:
- TRAVIS_FLAVOR=snmpwalk
- TRAVIS_FLAVOR=hbase_master
- TRAVIS_FLAVOR=hbase_regionserver
- TRAVIS_FLAVOR=redis-sentinel
# END OF TRAVIS MATRIX

before_install:
Expand All @@ -63,8 +64,6 @@ script:
- bundle exec rake prep_travis_ci
- bundle exec rake ci:run
- bundle exec rake lint
- rake ci:run[default]
- rake ci:run[redis_sentinel]
- bundle exec rake requirements

# we should clean generated files before we save the cache
Expand Down
10 changes: 5 additions & 5 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ dependencies:
test:
override:
- bundle exec rake prep_travis_ci
- rake ci:run[default]
- rake ci:run[snmpwalk]
- rake ci:run[hbase_master]
- rake ci:run[hbase_regionserver]
- rake ci:run[redis_sentinel]
- TRAVIS_FLAVOR="default" bundle exec rake ci:run
- TRAVIS_FLAVOR="snmpwalk" bundle exec rake ci:run
- TRAVIS_FLAVOR="hbase_master" bundle exec rake ci:run
- TRAVIS_FLAVOR="hbase_regionserver" bundle exec rake ci:run
- TRAVIS_FLAVOR="redis-sentinel" bundle exec rake ci:run
- bundle exec rake requirements
post:
- if [[ $(docker ps -a -q) ]]; then docker stop $(docker ps -a -q); fi

0 comments on commit 1fd3f5e

Please sign in to comment.