-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
35 lines (35 loc) · 1.43 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
31
32
33
34
35
language: ruby
rvm:
- 2.6.3
cache:
bundler: true
directories:
- app/assets/node_modules
yarn: true
env:
global:
- CC_TEST_REPORTER_ID=21bb68f10a2e76bf0f5900574f30703e9237639a08da7f1db2560a8f6dc721b1
services:
- postgresql
before_install:
- gem update —system
- gem install bundler
install:
- bundle install --jobs 3 --retry 3
- nvm install 12
- node -v
- npm i -g yarn
- yarn
before_script:
- bundle exec rails db:create
- bundle exec rails db:migrate
- 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
after_script:
- "./cc-test-reporter after-build -t simplecov --exit-code $TRAVIS_TEST_RESULT"
dd:
secure: K7uoJX5VapMIx/PyEir64+p+eboU7FHhbKDIJZgxencXfK1UMK/q7XvxWP18DH9d6AHMNVjxHv+pRqU1wzUBOAvJLSqehKohyxY4yUyCZn3j+r1ha1FToRZBOlN+i3ARUkZD+LbnZ1FT1ZM4dPan1l740zqo7Hf6/Lh5Lf21OXc6muGDXxston6DVCdy4veJYEPOkIFzxw8vLxKqxtGRBqfYUZ4x15ryrsmzmlncYqtQ8fYNGUUKtzhyeMba8NZqKEeLZfP5z7ZWOi+dJ1QFVi3MSIEYt4VaY4wwOtOroaXVquVJW6QMuW3tLp2jdx1wo14z3oXk3xL7uYzhw5m2/OLtE1Y+ijS7Y/hZHwHxrfaizGpPHRSlRl5kdaNU6hW/Vv61FKMMopqre9/73TrwJdZuKmJ8WwEQPCS3SFjn8BfHP9xwi7WhAsJBfA2lyYqCdN1UskYsL4Kc7IdofWAxg1Nh/KiAdukxvTdaWEBIC+Rz8B+H/KZAk3YMhdGSGX/i7orfQ5FLdSZr4ICUMVtGQENol/8UjhyuEzJjoZpw7AU9TH8DqkdJo1Q8UU0ird2hPqXfKfwM9F6k1y0I4mD4VsyWSiOy9MOyTRWusXZNUTF28f2xyt87TszbSSYe8whDpaZeBlg0sOh43M4YUfDR2xJs1jRsxeVPRObmD7GiMDM=