Skip to content

Commit

Permalink
Travis build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 27, 2014
1 parent e6b39b6 commit d6ebe56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
language: ruby
language: cpp
before_install:
- curl http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/Release.key | sudo apt-key add -
- echo "deb http://download.opensuse.org/repositories/YaST:/Head:/Travis/xUbuntu_12.04/ ./" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y yast2 yast2-slp
- sudo apt-get install --no-install-recommends -y yast2 yast2-slp yast2-add-on rake
# disable rvm, use system Ruby
- rvm reset
- sudo gem install bundler
- sudo bundle install
#- sudo gem install bundler
- sudo gem install yast-rake yard rspec:2.14.1 simplecov coveralls
- git clone --depth=1 git://github.com/SUSE/connect.git
- (cd connect && gem build suse-connect.gemspec && sudo gem install suse-connect-*.gem)
script:
# - bundle exec ruby -e 'puts $LOAD_PATH'
# - bundle exec env | sort
# - cat Gemfile.lock
- yardoc
- rake -f Rakefile.travis
# - cat ~/.y2log
- sudo rake install
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
source "https://rubygems.org"

gem "suse-connect", :github => "SUSE/connect"
#gem "suse-connect", :github => "SUSE/connect"

group :test do
gem "rake"
gem "yard"
gem "yast-rake"
gem "rspec", "~> 2.14.0"
gem "simplecov", :require => false
Expand Down

0 comments on commit d6ebe56

Please sign in to comment.