-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
41 lines (32 loc) · 837 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
30
31
32
33
34
35
36
37
38
39
40
41
dist: bionic
language: ruby
rvm:
- 2.4.4
# - ruby-head # because can't build ruby-head
cache:
bundler: true
yarn: true
directories:
- node_modules
bundler_args: --jobs=4 --retry=3 --deployment
sudo: false
services:
- mysql
branches:
except: /^no-ci-.*$/
before_script:
- nvm install --lts
- nvm use --lts
- bundle install --path vendor/bundle
- bundle clean
- cd frontend/ && yarn && cd ..
- echo 'module.exports = {"dummy":{"normal":"dummy","bold":"dummy","italics":"dummy","bolditalics":"dummy"}};' > frontend/fonts/fonts_map.js
- cp .travis/database.yml config/database.yml
- touch log/test.log
- bundle exec rails db:setup
script:
- bundle exec rubocop
- bundle exec rspec
- ./node_modules/.bin/eslint app/assets/javascripts
notifications:
slack: skyarch:RrGXgQVUmTe0r565gbHYMnmQ