-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (30 loc) · 2.02 KB
/
.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
30
language: ruby
rvm:
- 2.4.1
bundler_args: "--jobs=2"
cache: bundler
env:
- "RAILS_ENV=test"
services:
- postgresql
before_script:
- cp .travis/database.yml config/database.yml
- 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
- bundle exec rake db:create db:migrate db:seed
- RAILS_ENV=test bundle exec rake vat_rates:update
script:
- bundle exec rspec
- bundle exec rubocop
after_success:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
env:
global:
secure: sjo0CxpTMoen80y2R7tUK27dlTJukf2SmfDIPEY535L0j1MKfa37x6zBIZIe8dL9ZgDgSGB3P0JYEzHp8denA/b5qRjlbC2a3M105um4ZnpoBXyokj0taqJM7vYvEscwNDMiz3BTrhyTtX6hLblnsfcinziEZ1R85c+c5iliIhjczRD6aq1eiSYbyTsCvDTCAXM27r5ygbkHHg4gzdcY7712CDgyZz7USE0i26f/Z9OFQQX2vqziFQboggq4r7UDkRs6xpr+Agq/yk/kezomQm7ybO98DGNhXzQQrKcQ2SPmZwzEh3vjFfixIN1RrpNDf0ceSZKc+xgYIxRW7vgBaabycC8DN3UaDTCqyAs8QEhkYkP7/NZkJAUtJqHZofP7R+TY7zhVRxLJSJhjOxknbPX9zpDrFTdaiAYDNji+XSc04ew76m4BeE2HlKveqs1EeP6kEr2BPoJzNrF+rK+7CxiqEBeuicoFTyK0iVxNP6TjkSdzVCiRCN76koJoj5seQ8bn16WsuvfXpom2KOrTPng+SQgM2TXFJxgE+5iVfHFNjYquHZ0nXHzQOMSh3Tb2GMiRXsBVNdMWUXIRpfLbO5fCN1x3ziQ8q2rjC/9CkU91EnxmY0P/FJc0NSUHwEDT2givAW3K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