From 5be6657f3cca9c3f2957151a4f58d3d38d5d1411 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Tue, 29 Sep 2015 22:48:48 -0300 Subject: [PATCH] travis-ci: fix install from git on plugins --- .travis.yml | 16 ++++++++-------- lib/tasks/plugins_tests.rake | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6f9c9a..252093a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ notifications: - irc: - channels: - - "chat.freenode.net#noosfero" - - "chat.freenode.net#noosfero-br" - template: - - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" + # irc: + # channels: + # - "chat.freenode.net#noosfero" + # - "chat.freenode.net#noosfero-br" + # template: + # - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" language: ruby rvm: @@ -38,8 +38,8 @@ cache: bundler before_script: - mkdir -p tmp/{pids,cache} log # workaround for plugins with Gemfile - - perl -pi -e 's/cat .+ > \$gemfile/echo "source \\"https:\/\/rubygems.org\\"" > \$gemfile && cat \$source\/Gemfile >> \$gemfile/' script/noosfero-plugins - - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3/' script/noosfero-plugins + - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3 > \/dev\/null/' script/noosfero-plugins + - perl -pi -e 's/rm -f \$gemfile/mv "\$gemfile".lock Gemfile.lock; rm -f \$gemfile/' script/noosfero-plugins - script/noosfero-plugins disableall - bundle exec rake makemo &>/dev/null # database diff --git a/lib/tasks/plugins_tests.rake b/lib/tasks/plugins_tests.rake index 39e29c2..0e70d3f 100644 --- a/lib/tasks/plugins_tests.rake +++ b/lib/tasks/plugins_tests.rake @@ -8,6 +8,7 @@ $broken_plugins = %w[ @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template'] @all_plugins.sort! + @all_tasks = [:units, :functionals, :integration, :cucumber, :selenium] def enabled_plugins -- libgit2 0.21.2