forked from greenriver/hmis-warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 989 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
language: ruby
cache: bundler
bundler_args: --without production staging development
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 WAREHOUSE_DATABASE_ADAPTER=postgresql HEALTH_DATABASE_ADAPTER=postgresql DATABASE_APP_DB_TEST=boston_hmis_test WAREHOUSE_DATABASE_DB_TEST=warehouse_test HEALTH_DATABASE_DB_TEST=health_test [email protected]
script:
- date
- bundle exec rake db:create
- bundle exec rake warehouse:db:create
- bundle exec rake health:db:create
- bundle exec rake db:schema:load
- bundle exec rake warehouse:db:schema:load
- bundle exec rake health:db:schema:load
- bundle exec rspec
addons:
postgresql: "9.5"
apt_packages:
libmagic-dev