-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
35 lines (35 loc) · 900 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
30
31
32
33
34
35
language: ruby
rvm:
- 2.6.5
sudo: false
addons:
postgresql: '9.4'
services:
- postgresql
branches:
only:
- master
- develop
bundler_args: "--without production --jobs=3"
cache: bundler
before_install:
- gem update --system
- gem install bundler:1.17.3
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- cp config/database-travis.yml config/database.yml
script:
- bundle exec rake db:schema:load RAILS_ENV=test
- bundle exec rspec
deploy:
provider: heroku
api_key:
secure: jmZjV6+9yhdtXHp35lVsfKn9hN2SPKSW4qU69vj1w53X8KdZE8xuykW+tyTF/XosiKobk2lmV0y2u176u/P9IL1TEsINLOBZ9IZwbkiPOyw+nuBXC8EKzs8CDKUtX4aXRape3mJrTHV3ibGqUQ50AKrDsgbYaO0xafYRMmhIDeo=
app:
develop: engineerssg-staging
master: murmuring-shore-8908
on:
repo: engineersftw/website
run: rake db:migrate
notifications:
slack: teamtechladies:ps1NAx9fspD4RJobMG9vg2NE