Skip to content

Commit

Permalink
Use Docker at Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 6, 2017
1 parent e04a95b commit ebdc52c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
language: cpp
compiler:
- gcc
# install additional packages
# http://docs.travis-ci.com/user/installing-dependencies/
sudo: required
language: ruby
services:
- docker

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y docbook-xsl xsltproc
- docker build -t yast-devtools-image .
script:
- make -f Makefile.cvs
- make
- sudo make install

# 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=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-devtools-image yast-travis
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM yastdevel/ruby-tw
COPY . /tmp/sources

0 comments on commit ebdc52c

Please sign in to comment.