Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build fix for the latest core/ruby-bindings, use Docker at Travis (#277)
* Mock missing YaST modules * Debugging - remove this commit * Use Docker at Travis * fix last failed test * Changes - 3.2.6
- Loading branch information
Showing
6 changed files
with
61 additions
and
27 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,18 +1,12 @@ | ||
language: cpp | ||
compiler: | ||
- gcc | ||
sudo: required | ||
language: ruby | ||
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-testsuite yast2 yast2-storage yast2-xml yast2-transfer yast2-services-manager yast2-installation yast2-installation-control yast2-packager yast2-slp trang" -g "rspec:3.3.0 yast-rake gettext cheetah" | ||
- docker build -t yast-autoyast-image . | ||
script: | ||
- rake check:syntax | ||
- rake check:pot | ||
- rake test:unit | ||
- make -f Makefile.cvs | ||
- make | ||
- sudo make install | ||
- make check | ||
- ./check_schema.sh | ||
|
||
# the "yast-travis" script is included in the base yastdevel/ruby-tw image | ||
# see https://github.com/yast/docker-yast-ruby-tw/blob/master/yast-travis | ||
- docker run -it -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-autoyast-image yast-travis | ||
- docker run -it yast-autoyast-image ./check_schema.sh |
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,7 @@ | ||
FROM yastdevel/ruby-tw | ||
COPY . /tmp/sources | ||
RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ | ||
trang \ | ||
libxml2-tools \ | ||
libxslt-tools | ||
|
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
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
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
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