Skip to content
Permalink
Browse files

Merge pull request #79 from yast/docker-SLE-12-SP2

add docker to sle12sp2
  • Loading branch information...
jreidinger committed Jun 8, 2017
2 parents 3524729 + 3e431bd commit e9ecd855724c5bc377b1501d03385699b6814361
Showing with 17 additions and 13 deletions.
  1. +2 −2 .gitignore
  2. +12 −11 .travis.yml
  3. +3 −0 Dockerfile
@@ -28,12 +28,12 @@ Makefile.am.common
.dep
tmp.*
*.log
/doc/autodocs
!/doc/autodocs/Makefile.am
/doc
/testsuite/config/
/testsuite/run/
/testsuite/*.exp
/testsuite/yast2-kdump.*
/test-driver
/test/*.trs
/testsuite/*.bak
/.yardoc
@@ -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 e9ecd85

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