main
 1image: ruby:2.6
 2
 3before_script:
 4  - curl -sL https://deb.nodesource.com/setup_10.x | bash -
 5  - apt-get update && apt-get install -y locales postgresql postgresql-client libpq-dev nodejs unzip
 6  - echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
 7  - locale-gen
 8  - export LC_ALL=en_US.UTF-8
 9  - wget -q -O - https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
10  - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
11  - apt-get update -yq
12  - apt-get install -y yarn
13  - ./bin/setup_chrome
14
15cibuild:
16  script:
17    - bin/cibuild
18
19services:
20  - postgres:latest
21
22variables:
23  DATABASE_URL: postgres://runner:password@postgres/proof
24  POSTGRES_DB: proof
25  POSTGRES_USER: runner
26  POSTGRES_PASSWORD: password