forked from chef/supermarket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 974 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
36
sudo: false
addons:
postgresql: "9.3"
apt:
packages:
- libxslt1-dev
- libxml2-dev
before_install:
- bundle config build.nokogiri --use-system-libraries
before_script:
- psql -c 'create database supermarket_test;' -U postgres
- bundle exec rake db:schema:load
branches:
only:
- master
bundler_args: "--without development --jobs 7"
cache:
- apt
- bundler
env:
global:
secure: rzoy57s+oxvw27HStU1VNHN7fS525ocQo11bmASbwG5Ax6I4X/dwWofQCoZPoGrXisMw5RQaa7e3bHJpATZsMJC67Sf6gbfSOIYY7tISXuCFh9q/19YPGltdwZkP3OgawEpufA8zcMHzD5nvWNXq4c4TKRdtX6mHQVIAOJ9u6qY=
language: ruby
notifications:
email: false
slack:
secure: YhfiTSk7726AGK9H8761vEbu7wgKzh8zZll/PJuH2dmUy5myrV2nOxf7h6cbsEZcVA+dJ6jpGuLJnsoCBrneh2p7MKf+3wlwxZKE/sns0doMjf5L0i58guGEIVUbE6ydCoC+z65oniq5r/keS5kOs1Rate8wK2DvzgKN7Sjmx58=
rvm:
- 2.1.8
script:
- bundle exec rake spec
- bundle exec rake spec:rubocop
- bundle exec bundle-audit check --update
services:
- redis-server
- postgresql