forked from enova/landable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (27 loc) · 949 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
language: ruby
env:
- RAILS_VERSION=4.0.0
- RAILS_VERSION=4.0.5
- RAILS_VERSION=4.1.0
- RAILS_VERSION=4.1.1
rvm:
- 1.9.3-p448
- 2.0.0-p247
- 2.1.2
before_script:
- sudo apt-get update
- sudo apt-get install postgresql-server-dev-9.1 postgresql-contrib-9.1 libtap-parser-sourcehandler-pgtap-perl
- git clone https://github.com/theory/pgtap.git /tmp/pgtap
- env PG_CONFIG=/etc/postgresql/9.1/main/postgresql.conf && export PERL5LIB=/home/travis/perl5/lib/perl5 && cd /tmp/pgtap && make && sudo make install
- psql -c "CREATE USER dummy WITH superuser" -U postgres
- psql -c "CREATE DATABASE dummy_test;" -U postgres
- psql -d dummy_test -c "CREATE EXTENSION pgtap" -U postgres
- sudo sed -e 's/perl \-w/perl -w -X/' -i /usr/bin/pg_prove
- cd -
script:
- script/redb
- bundle exec rake landable
notifications:
# let enova know about the build
slack: enova:xzPNLg3AxkbkUcUlfn7sqHW5
email: trogdor@enova.com