This repository was archived by the owner on Oct 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (33 loc) · 1.31 KB
/
.travis.yml
File metadata and controls
33 lines (33 loc) · 1.31 KB
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
dist: trusty
language: ruby
cache: bundler
rvm:
- 2.4.4
- 2.5.1
- ruby-head
services:
- mysql
env:
- DRIVER=google-chrome TZ=Europe/Berlin
before_install:
- if [[ "$DRIVER" == "google-chrome" ]]; then wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then sudo apt-get update -qq && sudo apt-get install -qq -y google-chrome-stable; fi
- sudo apt-get install -qq -y fonts-liberation
- gem install bundler
before_script:
- cd spec/test_app
- bundle install --jobs=3 --retry=3
- bundle exec rails db:setup
- cd ../../
- if [[ "$DRIVER" == "google-chrome" ]]; then chromedriver-update; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then ls -lR ~/.chromedriver-helper/; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then chromedriver --version; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then google-chrome --version; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then which chromedriver; fi
- if [[ "$DRIVER" == "google-chrome" ]]; then which google-chrome; fi
script: bundle exec rspec
gemfile:
- gemfiles/hyper-mesh.gemfile
matrix:
fast_finish: true