Use EDM for Travis CI builds#281
Conversation
98ba5db to
8fc4b45
Compare
|
Okie dokie then. I'm not sure why wx is failing, but it was coming from Ubuntu before and now it's coming from EDM. I've marked it as an expected failure for now. Someone with better wx kung fu should take a look. Having 2.7 as the environment which runs the CI script was unexpectedly painful because |
Codecov Report
@@ Coverage Diff @@
## master #281 +/- ##
=========================================
- Coverage 35.42% 33.22% -2.2%
=========================================
Files 206 206
Lines 18814 18559 -255
Branches 2627 2520 -107
=========================================
- Hits 6664 6167 -497
- Misses 11724 11998 +274
+ Partials 426 394 -32
Continue to review full report at Codecov.
|
|
Cool! Mind if I steal this for Chaco (reviewing along the way)? |
|
Also, I wonder if it would make sense to have this EDM related code in a separate repo that can be submoduled (or installed) into other repos. Thoughts @jwiggins @corranwebster @itziakos ? |
|
Please steal this for Chaco! And share the bugs you fix! 😉 |
|
The code is different enough that it may not be useful to pull out the core into some other place (presumably Traits): the command-line arguments for the test runner tool here are different than those for TraitsUI, for example, and I think that is reasonable. That makes the amount of extractable shared code fairly small, I suspect. But I could be wrong. |
| set -e | ||
|
|
||
| install_edm() { | ||
| local EDM_MAJOR_MINOR="$(echo "$INSTALL_EDM_VERSION" | sed -E -e 's/([[:digit:]]+\.[[:digit:]]+)\..*/\1/')" |
There was a problem hiding this comment.
Maybe abort early if INSTALL_EDM_VERSION is not set?
There was a problem hiding this comment.
Among other fixes... yes.
| - ETS_TOOLKIT=null.image PILLOW='pillow<3.0.0' | ||
| - ETS_TOOLKIT=null.image PILLOW='pillow' | ||
| global: | ||
| - INSTALL_EDM_VERSION=1.5.2 |
There was a problem hiding this comment.
I'm not up-to-date with EDM versions. TraitsUI is using this version
There was a problem hiding this comment.
Well we should fix traitsui also the current version is 1.7.1
There was a problem hiding this comment.
Actually... I disagree. 1.7.1 doesn't install correctly
There was a problem hiding this comment.
There was a problem hiding this comment.
I yes, I now remember there is a bug in the sh installer for 1.7.1
46542fb to
0470e67
Compare
|
Ugh... pycairo. I even tested it locally. Travis is having none of it |
|
When trying to use this approach for local development, I'm running into issues with missing Cython. I did: followed by The |
|
Ah, I see. |
Shamelessly copied from the TraitsUI project...
8125c4d to
5f5327b
Compare
|
Thanks for the input @mdickinson! I think I made the mistake of not cleaning before testing on macOS. Cython has been (conditionally) added now. |
|
If there are no further comments, I'd like to merge this soon |
|
SGTM. I was very confused for a while: I couldn't see the commit where Cython was added. I'm guessing that there was a force push at some point? |
|
Yeah, sorry. Using GitLab has taught me some anti-social git habits ( |
🎶 👢 🐈 👢 🐈 👢 🐈...