Skip to content

Commit 862563a

Browse files
author
Sam Harrison
committed
chore: simplify Travis CI commands
1 parent 2357aa7 commit 862563a

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ rvm:
99
- 2.5
1010
- 2.4
1111
- jruby-9.2
12-
before_install:
13-
- gem install minitest
14-
- gem install simplecov
15-
- gem install codecov
1612
before_script:
17-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
18-
> ./cc-test-reporter
13+
- make install
14+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1915
- chmod +x ./cc-test-reporter
2016
- "./cc-test-reporter before-build"
2117
script:
22-
- rake
18+
- make test
2319
after_script:
2420
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
2521
deploy:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: install test
22

33
install:
4-
gem install minitest
4+
gem install bundler:1.14.6; bundle install
55

66
test:
7-
rake
7+
rake test

0 commit comments

Comments
 (0)