diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 17:36:24 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-07 17:36:24 +0200 |
commit | fb470e8e2aff80a16b56f9c5422c04e74dcb213c (patch) | |
tree | 017618080e17d3f3e5da8b360c0b6c7390a252c8 /lib | |
parent | a0bd09ab830899237ada52f02437164d7eaaf1ed (diff) | |
download | gitlab-ce-fb470e8e2aff80a16b56f9c5422c04e74dcb213c.tar.gz |
Validate username uniq in scope of namespace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/travis.rake | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake index e04bfbaf1c0..6b434830803 100644 --- a/lib/tasks/travis.rake +++ b/lib/tasks/travis.rake @@ -1,7 +1,5 @@ -task :travis do - ["rake spinach", "rake spec"].each do |cmd| - puts "Starting to run #{cmd}..." - system("export DISPLAY=:99.0 && bundle exec #{cmd}") - raise "#{cmd} failed!" unless $?.exitstatus == 0 - end -end +desc "Travis run tests" +task :travis => [ + :spinach, + :spec +] |