seattletestbed / continuous-integration Goto Github PK
View Code? Open in Web Editor NEWContinuous Integration config files for Seattle Testbed
License: MIT License
Continuous Integration config files for Seattle Testbed
License: MIT License
As I have mentioned earlier .travis.yml and appvoyer.yml are generic for all (or most of the) SeattleTestbed components. Therefor it would be nice to have a central repo, where they can be (a) maintained and (b) cloned from.
While creating this repository took care of (a), (b) seems a little trickier.
Here is what we want/need:
I tried various approaches (with due thanks to our local git expert @SantiagoTorres):
In Travis-CI we run the unit test framework on (amongst other versions) Python 2.5, which we have to install manually via the deadsnakes repo (Note: we ignore Python 2.5 in Appveyor).
But Python 2.5 doesn't have the argparse
module in its standard library, which utf.py
requires since recently.
In consequence the unit tests fail before they even start (here is a sample Travis job log) with the following exception:
Traceback (most recent call last):
File "utf.py", line 54, in <module>
import argparse
ImportError: No module named argparse
The solution is to install argparse via pypi prior to running utf.py
.
Caution: when using setup.py
, easy_install
or pip
make sure to use the Python 2.5 versions and to also execute them with Python2.5. (c.f. Kura's gist)
We have a few unaddressed comments for the CI config files in SeattleTestbed/repy_v2#112 . Let's address them so we launch CI!
This is really not a pressing issue, but I wonder why the same Travis config worked a bit ago, but now fails and complains about missing the argparse
module now:
$ $PythonBin utf.py -a;
Traceback (most recent call last):
File "utf.py", line 54, in <module>
import argparse
ImportError: No module named argparse
We had an issue with argparse
and an old Python version (2.5) previously, see fba8bf3, but this time it seems that things have changed on Travis' side.
Anyway, I'd like to emphasize that testing on a very old Python version is not our primary focus.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.