File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22# Copying and distribution of this file, with or without modification,
33# are permitted in any medium without royalty provided the copyright
44# notice and this notice are preserved. This file is offered as-is,
Original file line number Diff line number Diff line change 44# notice and this notice are preserved. This file is offered as-is,
55# without any warranty.
66set -e
7- $HOME /SageMath/sage -pip install --upgrade -i https://pypi.python.org/simple/ -v sagemath
7+ $HOME /SageMath/sage -pip install --upgrade -i https://pypi.python.org/pypi -v sagemath
88$HOME /SageMath/sage -pip install --upgrade --no-index -v .
99$HOME /SageMath/sage setup.py test
1010(cd docs && $HOME /SageMath/sage -sh -c " make html" )
11- $HOME /SageMath/sage -sh -c " pip uninstall ."
11+ $HOME /SageMath/sage -pip uninstall .
Original file line number Diff line number Diff line change @@ -2,27 +2,26 @@ language: python
22dist : precise
33matrix :
44 include :
5- - env : CACHE_NAME=latest DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_REPOSITORY=username /sample_sage
5+ - env : CACHE_NAME=latest DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_REPOSITORY=mmasdeu /sample_sage
66 DEPLOY_DOC_TO_DIRECTORY=doc/html SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/
77 SAGE_AGE=0
8- - env : CACHE_NAME=older SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/
9- SAGE_AGE=1
8+ - env : CACHE_NAME=older SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/ SAGE_AGE=1
109 allow_failures :
11- - env : CACHE_NAME=older SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/
12- SAGE_AGE=1
10+ - env : CACHE_NAME=older SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/ SAGE_AGE=1
11+
1312install :
14- - " ./.travis-install.sh"
13+ - ./.travis-install.sh
1514script :
16- - " ./.travis-test.sh"
15+ - ./.travis-test.sh
1716cache :
1817 directories :
19- - " $HOME/SageMath"
20- - " $HOME/.cache/matplotlib"
18+ - $HOME/SageMath
19+ - $HOME/.cache/matplotlib
2120 timeout : 1000
2221before_cache :
2322- rm -Rf $HOME/SageMath/logs $HOME/SageMath/.BUILDSTART
2423after_success :
25- - " ./.travis-deploy-doc.sh"
24+ - ./.travis-deploy-doc.sh
2625before_script :
2726- openssl aes-256-cbc -K $encrypted_2f33c728c8dc_key -iv $encrypted_2f33c728c8dc_iv
2827 -in .travis_ci_gh_pages_deploy_key.enc -out .travis_ci_gh_pages_deploy_key -d || true
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def run(self):
3737# For the tests
3838class SageTest (TestCommand ):
3939 def run_tests (self ):
40- errno = os .system ("sage -t --force-lib sage_sample" )
40+ errno = os .system ("sage -t --force-lib sage_sample sage_sample/*.pyx " )
4141 if errno != 0 :
4242 sys .exit (1 )
4343
You can’t perform that action at this time.
0 commit comments