summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-21 09:50:39 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-21 09:50:39 -0700
commit9033a081da3b589c18254866c6f239c5c85db6de (patch)
treeca7794e8ef7ac13f8ca243227b357c7b02f09c7a
parent246bab06780d1daf51c949a853fdb6b480e1e06e (diff)
downloadlibyajl2-gem-9033a081da3b589c18254866c6f239c5c85db6de.tar.gz
need to run prep + compile separately
they mutate the list of files which changes the gemspsec which confuses rake-compiler
-rw-r--r--.travis.yml2
-rw-r--r--Rakefile6
2 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 7ff93f7..d66a4db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,4 +6,6 @@ rvm:
- 2.1.1
bundler_args: --without development_extras
script:
+- bundle exec rake prep --trace
+- bundle exec rake compile --trace
- bundle exec rake travis --trace
diff --git a/Rakefile b/Rakefile
index 223d02f..9c2fb8a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -205,9 +205,9 @@ desc 'Run all style checks'
task :style => ['style:rubocop', 'style:reek']
desc 'Run style + spec tests by default on travis'
-task :travis => ['prep', 'compile', 'spec', 'style']
+task :travis => ['spec', 'style']
desc 'Run style, spec and test kichen on travis'
-task :travis_all => ['prep', 'compile', 'spec', 'integration:cloud', 'style']
+task :travis_all => ['spec', 'integration:cloud', 'style']
-task :default => ['prep', 'compile', 'spec', 'integration:vagrant', 'style']
+task :default => ['spec', 'integration:vagrant', 'style']