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 | 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 | 9 | language: ruby |
10 | 10 | rvm: |
... | ... | @@ -38,8 +38,8 @@ cache: bundler |
38 | 38 | before_script: |
39 | 39 | - mkdir -p tmp/{pids,cache} log |
40 | 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 | 43 | - script/noosfero-plugins disableall |
44 | 44 | - bundle exec rake makemo &>/dev/null |
45 | 45 | # database | ... | ... |
lib/tasks/plugins_tests.rake