Skip to content

Commit f2961b9

Browse files
committed
Made it look more like a package that is already working.
1 parent a1a953c commit f2961b9

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.travis-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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,

.travis-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# notice and this notice are preserved. This file is offered as-is,
55
# without any warranty.
66
set -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 .

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@ language: python
22
dist: precise
33
matrix:
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+
1312
install:
14-
- "./.travis-install.sh"
13+
- ./.travis-install.sh
1514
script:
16-
- "./.travis-test.sh"
15+
- ./.travis-test.sh
1716
cache:
1817
directories:
19-
- "$HOME/SageMath"
20-
- "$HOME/.cache/matplotlib"
18+
- $HOME/SageMath
19+
- $HOME/.cache/matplotlib
2120
timeout: 1000
2221
before_cache:
2322
- rm -Rf $HOME/SageMath/logs $HOME/SageMath/.BUILDSTART
2423
after_success:
25-
- "./.travis-deploy-doc.sh"
24+
- ./.travis-deploy-doc.sh
2625
before_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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def run(self):
3737
# For the tests
3838
class 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

0 commit comments

Comments
 (0)