forked from greenriver/boston-cas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis_disabled.yml
28 lines (23 loc) · 968 Bytes
/
.travis_disabled.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
language: ruby
before_script:
- cp config/letsencrypt_plugin.yml.sample config/letsencrypt_plugin.yml
- cp config/secrets.yml.sample config/secrets.yml
- mkdir app/assets/stylesheets/theme/styles
- touch app/assets/stylesheets/theme/styles/_variables.scss
- cp .rspec.travis .rspec
env:
- RAILS_ENV=test DATABASE_ADAPTER=postgresql DATABASE_DB_TEST=boston_cas_test [email protected] DATABASE_WAREHOUSE_DB_TEST=test_hmis_warehouse HOSTNAME=openpath.host PORT=80 CLIENT=test
script:
- createdb $DATABASE_WAREHOUSE_DB_TEST
- bundle exec rake db:create
- bundle exec rake db:schema:load
- bundle exec brakeman -q --ensure-latest
- bundle exec bundle-audit check --update --ignore CVE-2019-16676 CVE-2017-1002201
- bundle exec rspec
addons:
postgresql: "9.5"
apt_packages:
libmagic-dev
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'