-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
62 lines (62 loc) · 1.72 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
50
51
52
53
54
55
56
57
58
59
60
61
62
os: linux
dist: bionic
language: ruby
rvm: 2.7.2
cache:
bundler: true
addons:
mariadb: '10.5'
services:
- mysql
env:
global:
- RAILS_ENV=test
- COVERAGE=true
before_install:
- sudo apt-get -qq update
- sudo apt-get install -o Dpkg::Options::="--force-overwrite" -y mariadb-client libmariadb-dev
- sudo mysql_upgrade
- curl -L "https://github.com/manticoresoftware/manticoresearch/releases/download/3.4.2/manticore_3.4.2-200410-69033058-release.bionic_amd64-bin.deb" > manticore.deb
- sudo dpkg -i manticore.deb
- nvm install node
- node -v
- npm -g install yarn
- yarn install
- gem install bundler
jobs:
include:
- name: Rspec
before_script:
- bin/travis-setup
script:
- bundle exec rspec --tag ~js
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: Firefox
addons:
mariadb: '10.5'
firefox: latest
env: LITTLESIS_USE_FIREFOX=true
before_script:
- curl -L "https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz" | sudo tar xzf - -C /usr/local/bin
- geckodriver --version
- bin/travis-setup
script:
- bundle exec rspec --tag js
- name: Chrome
addons:
mariadb: '10.5'
chrome: stable
before_script:
- curl -L "https://chromedriver.storage.googleapis.com/87.0.4280.20/chromedriver_linux64.zip" > chromedriver.zip
- sudo unzip chromedriver.zip chromedriver -d /usr/bin
- chromedriver --version
- bin/travis-setup
script:
- bundle exec rspec --tag js
- name: Javascript
language: node_js
node_js: lts/*
cache: yarn
script:
- yarn test