Skip to content
Permalink
Browse files

add docker to sle12sp2

  • Loading branch information...
jreidinger committed Jun 7, 2017
1 parent 3524729 commit b4e1e078030da9ee274478e9728584b01f256346
Showing with 15 additions and 11 deletions.
  1. +12 −11 .travis.yml
  2. +3 −0 Dockerfile
@@ -1,13 +1,14 @@
language: cpp
compiler:
- gcc
sudo: required
language: bash
services:
- docker

before_install:
# disable rvm, use system Ruby
- rvm reset
- wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
- sh ./travis_setup.sh -p "rake yast2-devtools yast2 yast2-packager yast2-storage yast2-bootloader ruby2.1-dev libaugeas-dev pkg-config" -g "rspec:3.3.0 yast-rake gettext coveralls cfa_grub2 cheetah"
- docker build -t yast-kdump-image .
# list the installed packages (just for easier debugging)
- docker run --rm -it yast-kdump-image rpm -qa | sort

script:
- rake check:syntax
- rake check:pot
- COVERAGE=1 rake test:unit
- sudo rake install
# the "yast-travis-ruby" script is included in the base yastdevel/ruby image
# see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
- docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-kdump-image yast-travis-ruby
@@ -0,0 +1,3 @@
FROM yastdevel/ruby:sle12-sp2
COPY . /usr/src/app

0 comments on commit b4e1e07

Please sign in to comment.
You can’t perform that action at this time.