forked from glebm/i18n-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 818 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
sudo: false
dist: trusty
language: ruby
rvm:
- 2.2.3
- jruby
- rbx-3
cache: bundler
bundler_args: --without debug
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- bundle exec rspec --format d
- >
if [[ "$(rvm current)" = "ruby-"* ]]; then
bundle exec rubocop
fi
after_script:
- >
if [[ "$(rvm current)" = "ruby-"* ]]; then
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
fi
env:
global:
- TRAVIS=1 CI=1 COVERAGE=1
# google translate api key:
- secure: "LSP0PfgTfRfyjm3iV770tgqF+G1G4lD+s7LSFE7QwsX+HoZPm8SwHW9S0sOThub+qAkOkfPvApvHwL8nBBFPPM+ZZcgBUViLfErUSOKHFLQt6/pMQvpRg+47hSUszedGnxHck6z9q71a/4GrxHcuY+VslCpT+PhCTt0rsAf3bvY="