-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test sympy-1.0+ during CI * Travis CI / Python 3.7 workaround * forgot to set executable flag * Use sympy-1.1.1 instead of sympy-1.1 * Specify --machine on Travis * Use some bash fu * explicit sections for releases * Travis fold * fix bash syntax * Better syntax * fix ci script * simplify script * Correctly reference asv 'machine' * Update Travis deferring pre-1.2 releases
- Loading branch information
Showing
5 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash -eu | ||
tag=$1 | ||
if [[ ${TRAVIS:-} ]]; then echo -en "travis_fold:start:test-${tag}\\r"; fi | ||
python3 -m virtualenv /tmp/venv-${tag} | ||
bash -c "source /tmp/venv-${tag}/bin/activate; pip install pytest https://github.com/sympy/sympy/archive/${tag}.tar.gz && echo \"Running the benchmark test suite for ${tag}...\" && pytest -rs" | ||
echo "Running benchmarks for ${tag}..." | ||
asv run --machine travis --config asv.conf.venv.json --show-stderr "${tag}^!" | ||
if [[ ${TRAVIS:-} ]]; then echo -en "travis_fold:end:test-${tag}\\r"; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
dist: xenial # py37, cf. https://github.com/travis-ci/travis-ci/issues/9815 | ||
sudo: yes # py37, cf. https://github.com/travis-ci/travis-ci/issues/9815 | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.7" | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install asv virtualenv | ||
- cp .asv-machine.json ~ | ||
- pip install virtualenv https://github.com/airspeed-velocity/asv/archive/master.tar.gz | ||
- cp .ci/.asv-machine.json ~ | ||
- git clone --bare git://github.com/sympy/sympy sympy # asv uses --bare | ||
script: | ||
- py.test | ||
- asv run --config asv.conf.venv.json --show-stderr | ||
- .ci/run_ci.sh master || travis_terminate 1; | ||
- .ci/run_ci.sh sympy-1.4 || travis_terminate 1; | ||
- .ci/run_ci.sh sympy-1.3 || travis_terminate 1; | ||
- .ci/run_ci.sh sympy-1.2 || travis_terminate 1; | ||
# TODO: enable for older versions: | ||
# - .ci/run_ci.sh sympy-1.1.1 || travis_terminate 1; | ||
# - .ci/run_ci.sh sympy-1.0 || travis_terminate 1; | ||
notifications: | ||
email: false |
This file was deleted.
Oops, something went wrong.