Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update Travis CI build matrix #99

Closed
wants to merge 3 commits into from

2 participants

@KL-7
Collaborator

I was wondering if TwitterCLDR's build matrix for Travis CI is complete and noticed that parsers specs are missing (check out, for example, this build).

It's pretty hard to remember to update build matrix every time a new specs directory is added, so I suggest to change the build matrix a bit. If all "fast" specs are executed at once (using rspec --tag ~slow spec) none of them will ever be forgotten or skipped on Travis. All "slow" specs, as before, can be executed separately in small groups to make sure they fit into the time limit for Travis builds. If new "slow" specs are added, they will have to be added to the build matrix manually, but I believe that new "fast" specs are added much more often than the "slow" ones, so it shouldn't be that annoying.

Check out this build – if I counted them correctly, all specs are executed and the maximum time for a specs batch is even smaller than before (though, it isn't the main goal).

@camertron
Collaborator

Hey @KL-7, sorry I've taken so long to respond, been pretty busy around here recently. I'll try to get to this as soon as I can :)

@camertron
Collaborator

Merged into the v3.0 branch. Thanks!

@camertron camertron closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 .travis.yml
View
12 .travis.yml
@@ -7,9 +7,9 @@ matrix:
allow_failures:
- rvm: jruby-head
env:
- - "FULL_SPEC=true TEST_FOLDERS=spec/bidi"
- - "FULL_SPEC=true TEST_FOLDERS=spec/collation"
- - "FULL_SPEC=true TEST_FOLDERS='spec/normalization_spec.rb spec/normalization'"
- - "FULL_SPEC=true TEST_FOLDERS='spec/formatters spec/localized spec/resources spec/shared spec/tokenizers spec/utils_spec.rb spec/utils spec/core_ext_spec.rb spec/readme_spec.rb spec/twitter_cldr_spec.rb'"
-script: 'bundle exec rspec $TEST_FOLDERS'
-before_script: 'gem install bundler'
+ - 'RSPEC_OPTIONS="--tag ~slow spec"'
+ - 'RSPEC_OPTIONS="--tag slow spec/bidi/bidi_spec.rb spec/collation/collation_spec.rb"'
+ - 'RSPEC_OPTIONS="--tag slow spec/collation/tailoring_spec.rb spec/collation/trie_dumps_spec.rb"'
+ - 'RSPEC_OPTIONS="--tag slow spec/normalization/normalization_spec.rb"'
+script: 'bundle exec rspec $RSPEC_OPTIONS'
+before_script: 'gem install bundler'
Something went wrong with that request. Please try again.