Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the storage-ng Docker image in the storage-ng branch
- Loading branch information
Showing
2 changed files
with
12 additions
and
19 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,21 +1,11 @@ | ||
language: cpp | ||
compiler: | ||
- gcc | ||
sudo: required | ||
language: bash | ||
services: | ||
- docker | ||
|
||
before_install: | ||
# disable rvm, use system Ruby | ||
- rvm reset | ||
# install newer augeasget repo with newer augeas, otherwise ruby-augeas fails (see https://github.com/yast/yast-network/pull/454#issuecomment-253795507) | ||
- sudo add-apt-repository -y ppa:raphink/augeas | ||
- sudo apt-get update | ||
- sudo apt-get install libaugeas-dev libxml2-dev | ||
# end of augeas install | ||
- wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh | ||
- sh ./travis_setup.sh -p "yast2-devtools yast2 yast2-storage-ng rake ruby2.1-dev libaugeas-dev pkg-config" -g "gettext yast-rake yard rspec:3.3.0 simplecov coveralls rubocop:0.41.2 cfa_grub2 cheetah" | ||
- docker build -t yast-bootloader-image . | ||
script: | ||
- rake check:syntax | ||
- rake check:pot | ||
- rubocop | ||
- yardoc | ||
- COVERAGE=1 rake test:unit | ||
- sudo rake install | ||
|
||
# the "storage-ng-travis-ruby" script is included in the base yastdevel/storage-ng image | ||
# see https://github.com/yast/docker-storage-ng/blob/master/storage-ng-travis-ruby | ||
- docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-bootloader-image storage-ng-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/storage-ng | ||
COPY . /usr/src/app | ||
|