main
1sudo: false
2language: ruby
3cache:
4 yarn: true
5 directories:
6 - node_modules
7addons:
8 postgresql: '9.6'
9 chrome: stable
10rvm:
11 - 2.6.5
12install:
13 - nvm install node
14 - npm install -g yarn
15 - node -v
16 - yarn install
17 - sudo ./bin/setup_chrome
18before_script:
19 - psql -c 'create database proof;' -U postgres
20 - ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
21env:
22 - DATABASE_URL=postgres://postgres@localhost/proof
23script:
24 - bin/cibuild
25services:
26 - postgresql