File tree Expand file tree Collapse file tree 4 files changed +7
-16
lines changed Expand file tree Collapse file tree 4 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,4 @@ if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "${DEPLOY_DOC
2525 git push origin gh-pages
2626 fi
2727fi
28+ /usr/bin/killall python2
Original file line number Diff line number Diff line change 1- #! /bin/bash
2- # Copying and distribution of this file, with or without modification,
3- # are permitted in any medium without royalty provided the copyright
4- # notice and this notice are preserved. This file is offered as-is,
5- # without any warranty.
1+ #! /bin/sh
62set -e
7- export PATH= $PATH : $HOME /SageMath
8- $HOME /SageMath/sage -pip install --upgrade -i https://pypi.python.org/pypi -v sagemath
3+
4+ $HOME /SageMath/sage -pip install --upgrade -v - i https://pypi.python.org/pypi sagemath
95$HOME /SageMath/sage -pip install --upgrade --no-index -v .
106$HOME /SageMath/sage setup.py test
117(cd docs && $HOME /SageMath/sage -sh -c " make html" )
Original file line number Diff line number Diff line change 11language : python
2- dist : precise
32matrix :
43 include :
54 - env : CACHE_NAME=latest DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_REPOSITORY=mmasdeu/sage_sample
Original file line number Diff line number Diff line change @@ -30,16 +30,11 @@ def readfile(filename):
3030# Check the right Sage version
3131class build (build_module .build ):
3232 def run (self ):
33- try :
34- errno = os .system ('''sage -python -c "from sagemath.check_version import check_version; check_version('%s')"''' % sage_required_version )
35- except ValueError :
36- errno = - 1
37- if errno != 0 :
38- sys .exit (1 )
39- # from sagemath.check_version import check_version
40- # check_version(sage_required_version)
33+ from sagemath .check_version import check_version
34+ check_version (sage_required_version )
4135 build_module .build .run (self )
4236
37+
4338# For the tests
4439class SageTest (TestCommand ):
4540 def run_tests (self ):
You can’t perform that action at this time.
0 commit comments