forked from benwbrum/fromthepage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (43 loc) · 1.04 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
49
dist: xenial
sudo: false
language: ruby
rvm: 2.3.7
jobs:
include:
- stage: test for pry
rvm: 2.4.1
before_install:
- bash travis/.travis_pry.sh
install: skip
before_script: skip
script: echo No pry found
- stage: test
services:
- mysql
env: DB=mysql
gemfile: Gemfile
- addons:
mariadb: '10.2'
env: DB=mariadb
gemfile: Gemfile
before_install:
- sudo apt-get -qq update
- sudo apt-get install ghostscript
- sudo apt-get install graphviz
- sudo apt-get install g++ qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x
- export QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
- qtchooser -qt=qt5
- mysql -e 'CREATE DATABASE test;'
before_script:
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rake db:fixtures:load FIXTURES_PATH=spec/fixtures
script:
- xvfb-run bundle exec rspec
branches:
only:
- master
- ui-design
- development
- fromthepage.com
- indianapolis