Commit 5be6657f3cca9c3f2957151a4f58d3d38d5d1411
1 parent
b62774ed
Exists in
master
and in
29 other branches
travis-ci: fix install from git on plugins
Showing
2 changed files
with
9 additions
and
8 deletions
Show diff stats
.travis.yml
1 | notifications: | 1 | notifications: |
2 | - irc: | ||
3 | - channels: | ||
4 | - - "chat.freenode.net#noosfero" | ||
5 | - - "chat.freenode.net#noosfero-br" | ||
6 | - template: | ||
7 | - - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" | 2 | + # irc: |
3 | + # channels: | ||
4 | + # - "chat.freenode.net#noosfero" | ||
5 | + # - "chat.freenode.net#noosfero-br" | ||
6 | + # template: | ||
7 | + # - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" | ||
8 | 8 | ||
9 | language: ruby | 9 | language: ruby |
10 | rvm: | 10 | rvm: |
@@ -38,8 +38,8 @@ cache: bundler | @@ -38,8 +38,8 @@ cache: bundler | ||
38 | before_script: | 38 | before_script: |
39 | - mkdir -p tmp/{pids,cache} log | 39 | - mkdir -p tmp/{pids,cache} log |
40 | # workaround for plugins with Gemfile | 40 | # workaround for plugins with Gemfile |
41 | - - perl -pi -e 's/cat .+ > \$gemfile/echo "source \\"https:\/\/rubygems.org\\"" > \$gemfile && cat \$source\/Gemfile >> \$gemfile/' script/noosfero-plugins | ||
42 | - - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3/' script/noosfero-plugins | 41 | + - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3 > \/dev\/null/' script/noosfero-plugins |
42 | + - perl -pi -e 's/rm -f \$gemfile/mv "\$gemfile".lock Gemfile.lock; rm -f \$gemfile/' script/noosfero-plugins | ||
43 | - script/noosfero-plugins disableall | 43 | - script/noosfero-plugins disableall |
44 | - bundle exec rake makemo &>/dev/null | 44 | - bundle exec rake makemo &>/dev/null |
45 | # database | 45 | # database |
lib/tasks/plugins_tests.rake
@@ -8,6 +8,7 @@ $broken_plugins = %w[ | @@ -8,6 +8,7 @@ $broken_plugins = %w[ | ||
8 | 8 | ||
9 | @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template'] | 9 | @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template'] |
10 | @all_plugins.sort! | 10 | @all_plugins.sort! |
11 | + | ||
11 | @all_tasks = [:units, :functionals, :integration, :cucumber, :selenium] | 12 | @all_tasks = [:units, :functionals, :integration, :cucumber, :selenium] |
12 | 13 | ||
13 | def enabled_plugins | 14 | def enabled_plugins |