Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
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/SLE-12-GA/travis-tools/travis_setup.sh | ||
- sh ./travis_setup.sh -p "rake yast2-devtools yast2-testsuite yast2 libx11-dev" -g "yast-rake gettext" | ||
- docker build -t yast-printer-image . | ||
script: | ||
- rake check:syntax | ||
- rake check:pot | ||
- make -f Makefile.cvs | ||
- make | ||
- sudo make install | ||
- make check | ||
|
||
# the "yast-travis-cpp" script is included in the base yastdevel/cpp image | ||
# see https://github.com/yast/docker-yast-cpp/blob/master/yast-travis-cpp | ||
- docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-printer-image yast-travis-cpp |
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,8 @@ | ||
FROM yastdevel/cpp | ||
RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ | ||
xorg-x11-libX11-devel \ | ||
yast2 \ | ||
yast2-testsuite | ||
|
||
COPY . /usr/src/app | ||
|