forked from chaskiq/chaskiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (45 loc) · 1.62 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
language: ruby
#addons:
# chrome: stable
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
services:
- postgresql
- redis-server
env:
global:
- NODE_ENV=test
cache:
bundler: true
directories:
- node_modules
yarn: true
before_install:
- gem update --system
- gem install bundler -v 1.17.3
- nvm install 10.13.0
before_script:
- cp config/database.yml.travis config/database.yml
- cp ./config/webpacker.ci.yml ./config/webpacker.yml
- bundle exec rails db:prepare
- yarn install
- NODE_OPTIONS="--max-old-space-size=2048" bundle exec rake assets:precompile --trace
- bundle exec rails server -e test -p 5002 -d
- "./node_modules/.bin/cypress install"
script:
- bundle exec rspec
- yarn cypress run
matrix:
include:
- rvm: 2.6.5
gemfile: Gemfile
#deploy:
# provider: heroku
# api_key:
# secure: vwv8k6hnHgkgUcgFELelm72rwUYQ1vC2i3Xt2VqZIxQaOzJSp0r5sZ0vx2VyDXnc9SBeYGOXNTmdzTxAsoV5PRVUtVbDCXFGMQQLUNosiTc/ghJBD9Xn93HeoyUDyL0HG7+2TSCBnT8uEPF5GvAqJ7f4iF27LZThirv9O+X8o1VwsUga9CduHh69wnbyZs19rroE4+uJvivnlhSmPWTbkqyQs31Lno3fWj4LNfxHbEQ8HS+7bd4tY8lm/fww3uToDcgbUycq7Dyr/dVV9XDaRQcPf3X5dSa+0q1Uxxbf5Ejo0x9VfM0foGzyhVgl/GAC3j+tqTcayNx3fCUFrGUKeHkLngdgPi42wmVmacPT3EdOaomoMi13LjP0CM5TX6+TtvR1+p86cO1+0mhQa21WJzjmMfMVvt4CvG8t8bQBHzZS/71kMcc8dHNC8EUsXUsm1oNC4d/G6ePIHDxYtIFgaJVf7X/xCe3VTGC+b15aOQzEizCIC3kEs5M/9vpvDLerljEBcGNP7LAhvb2WNofrAty/EqUVV93XD3nZsYV0yPvfl5RqHfVANJqX5Iz01tQBaimp7HYcjtzskLTZdYwtLKXrUS/8IbgwCA3Mj2zJmsLlO7gFn8mJ5karaAuFs5imaZwIxRGXAq0Mr01x3+rNGNShI0ptPvpnLygIUvDwZtM=
# app: hermesapp
# on:
# repo: chaskiq/chaskiq