forked from poise/supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 1019 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
language: ruby
rvm:
- 1.9.3-p484
env:
matrix:
- KITCHEN_CHEF_VERSION="latest" KITCHEN_PLATFORM="ubuntu-1204" KITCHEN_SUITE="default"
- KITCHEN_CHEF_VERSION="latest" KITCHEN_PLATFORM="ubuntu-1004" KITCHEN_SUITE="default"
- KITCHEN_CHEF_VERSION="latest" KITCHEN_PLATFORM="centos-64" KITCHEN_SUITE="default"
global:
- USE_SYSTEM_GECODE=true
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml
- secure: PbiTzcRVGwYNJCd0CNgasmnOwMoGL8XGQ4WnRcQpI2VEiCeeAnWrja2KNq6DlNXCiQvRUwVqG6ggF18QaruutsShbEHZ+xki392wbEKuaiz63Yqa1bSIIzzK8vv+X1kt9mkdnFOKt/PCOgnRqY86AclysORDdy+F8Ul4vgZ46+I=
before_install:
- sudo apt-get update
- sudo apt-get install libgecode-dev
bundler_args: "--deployment --binstubs"
script:
- "./bin/foodcritic ."
- ruby -e 'IO.write(".docker.pass", ENV["KITCHEN_DOCKER_PASS"])'
- openssl rsa -in .docker.pem -passin file:.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 $KITCHEN_SUITE-$KITCHEN_PLATFORM"