forked from poise/supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 1.01 KB
/
.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
sudo: false
cache: bundler
language: ruby
rvm:
- 2.1.4
env:
matrix:
- CHEF_VERSION="11"
- CHEF_VERSION="12"
global:
- USE_SYSTEM_GECODE=true
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml
- secure: lNU84s6dn1eXYHSBMPqjM219OfN2Cx8XKjcsXsb1UTV8BASfClWdsJuV/I5uwKMTHgnB+rK945BzA28SmCF2ixhLKbEbjh8TcnIf2s6qyxUWZMXEeYgBdW19ylD5ZiiIdLBvoz0tdrN+0uJwEENADCfQt/AAtD7ojuqa3oG+ZV8=
before_install:
- curl -o ~/gecode.tar.gz https://poise-gecode.s3.amazonaws.com/gecode-3.7.3-ubuntu12.04-x86_64.tar.gz
- tar xzf ~/gecode.tar.gz -C ~
- rm ~/gecode.tar.gz
- bundle config build.dep_selector "--with-cflags=\"-I$HOME/gecode-3.7.3/include\"
--with-cppflags=\"-I$HOME/gecode-3.7.3/include\" --with-ldflags=\"-L$HOME/gecode-3.7.3/lib
-Wl,-rpath=$HOME/gecode-3.7.3/lib\""
bundler_args: "--deployment --binstubs"
script:
- "./bin/foodcritic ."
- openssl rsa -in .docker.pem -passin env:KITCHEN_DOCKER_PASS -out .docker.key
- wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker
- chmod +x docker
- "./bin/kitchen test -d always"