1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/.travis.yml

32 lines
722 B
YAML
Raw Normal View History

2018-11-28 14:19:09 +00:00
language: ruby
2018-11-28 14:37:55 +00:00
services:
- postgresql
env:
global:
- POSTGRES_HOST=localhost
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=''
- POSTGRES_DB=partynest_test
2018-11-30 23:41:15 +00:00
before_install:
2018-11-30 23:48:16 +00:00
- sudo apt install qt4-qmake libqt4-dev libqtwebkit-dev xvfb
2018-11-30 23:41:15 +00:00
2018-12-02 20:03:51 +00:00
install:
- bundle install --jobs=3 --retry=3
- npm install
2018-11-28 14:37:55 +00:00
before_script:
- psql -U postgres -c "CREATE DATABASE partynest_test;"
2018-11-30 23:48:16 +00:00
2018-12-05 22:41:59 +00:00
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
2018-11-30 23:48:16 +00:00
script: xvfb-run -a bundle exec rake
2018-12-05 22:41:59 +00:00
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT