Skip to content

Commit

Permalink
add amazonlinus to travis matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Nov 21, 2016
1 parent b488d5b commit 1f29c18
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Expand Up @@ -252,6 +252,24 @@ matrix:
env:
- FEDORA=latest
- KITCHEN_YAML=.kitchen.travis.yml
- rvm: 2.3.1
services: docker
sudo: required
gemfile: kitchen-tests/Gemfile
before_install:
- gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- gem install bundler -v $(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
bundler_args: --without changelog development docgen guard integration maintenance omnibus_package tools aix bsd mac_os_x solaris windows --frozen
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- cd kitchen-tests
script:
- bundle exec kitchen test webapp-amazonlinux
after_failure:
- cat .kitchen/logs/kitchen.log
env:
- AMAZONLINUX=LATEST
- KITCHEN_YAML=.kitchen.travis.yml
- rvm: 2.3.1
services: docker
sudo: required
Expand Down
9 changes: 9 additions & 0 deletions kitchen-tests/.kitchen.travis.yml
Expand Up @@ -115,6 +115,15 @@ platforms:
intermediate_instructions:
- RUN zypper refresh

- name: amazonlinux
driver:
image: amazonlinux:latest
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum clean all
- RUN yum -y install which initscripts net-tools sudo wget
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers

suites:
- name: webapp
run_list:
Expand Down

0 comments on commit 1f29c18

Please sign in to comment.