forked from ComPlat/chemotion_ELN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 845 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
sudo: required
dist: focal
language: ruby
cache:
bundler: true
directories:
- node_modules
- tmp/cache/assets/test/sprockets
rvm:
- 2.7.6
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install -y libappindicator1 fonts-liberation libeigen3-dev swig
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- nvm install 12.21.0
- npm install npm -g
- npm install
before_script:
- cp config/database.yml.travis config/database.yml
- cp config/storage.yml.example config/storage.yml
- psql -c 'create database travis_ci_test;' -U postgres
addons:
postgresql: "12"
services:
- postgresql
script:
- bundle exec rake db:test:prepare
- bundle exec rake
- npm test