Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from yast/docker-SLE-12-SP2
add docker to sle12sp2
- Loading branch information
Showing
3 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,6 @@ tmp.* | |
*.log | ||
*.ybc | ||
test-driver | ||
|
||
/.yardoc | ||
/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +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" -g "yast-rake rspec gettext ruby-dbus" | ||
- docker build -t yast-snapper-image . | ||
# list the installed packages (just for easier debugging) | ||
- docker run --rm -it yast-snapper-image rpm -qa | sort | ||
|
||
script: | ||
- rake check:syntax | ||
- rake check:pot | ||
- make -f Makefile.cvs | ||
- make | ||
- rake test:unit | ||
- sudo make 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-snapper-image yast-travis-ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM yastdevel/ruby:sle12-sp2 | ||
COPY . /usr/src/app | ||
|