forked from AlchemyCMS/alchemy_cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (43 loc) · 1.15 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
36
37
38
39
40
41
42
43
44
45
46
47
48
language: ruby
os: linux
dist: bionic
services:
- mysql
addons:
postgresql: "10"
cache:
bundler: true
yarn: true
directories:
- /home/travis/.webdrivers/
rvm:
- 2.6.6
- 2.7.1
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
- nvm use 12
script: bundle exec rake
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
jobs:
include:
- language: node_js
node_js: 12
install: yarn install
script: yarn jest --coverage
env: NODE_ENV=test
before_script: skip
after_script: skip
env:
global:
CC_TEST_REPORTER_ID=bca4349e32f97919210ac8a450b04904b90683fcdd57d65a22c0f5065482bc22
jobs:
- DB=mysql RAILS_VERSION=5.2
- DB=mysql RAILS_VERSION=6.0
- DB=postgresql RAILS_VERSION=5.2
- DB=postgresql RAILS_VERSION=6.0
notifications:
slack:
secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=