Skip to content

Commit

Permalink
Remove all mentions of Travis from the codebase
Browse files Browse the repository at this point in the history
Travis CI is no longer functioning and with sympy#24232, we now no longer require
it for pushing the development docs, which was the last remaining thing it did
that was not on GitHub Actions.

The ON_TRAVIS variable in the tests has been renamed to ON_CI, and is based on
the CI environment variable being set (see
https://docs.github.com/en/actions/learn-github-actions/environment-variables).
  • Loading branch information
asmeurer committed Nov 8, 2022
1 parent d44f27e commit bcb8a73
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 576 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
python-version: '3.10'
- run: python -m pip install --upgrade pip
- run: pip install mpmath
- run: TRAVIS_BUILD_NUMBER=true bin/test --force-colors --slow --timeout=595 --split=1/2
- run: bin/test --force-colors --slow --timeout=595 --split=1/2

# -------------------- Slow test split 2/2 ----------------------- #

Expand All @@ -287,7 +287,7 @@ jobs:
python-version: '3.10'
- run: python -m pip install --upgrade pip
- run: pip install mpmath
- run: TRAVIS_BUILD_NUMBER=true bin/test --force-colors --slow --timeout=595 --split=2/2
- run: bin/test --force-colors --slow --timeout=595 --split=2/2

# -------------------- Test split 1/2 older Python --------------- #

Expand Down
132 changes: 0 additions & 132 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SymPy

[![pypi version](https://img.shields.io/pypi/v/sympy.svg)](https://pypi.python.org/pypi/sympy)
[![Build status](https://secure.travis-ci.org/sympy/sympy.svg?branch=master)](https://travis-ci.org/sympy/sympy)
[![Join the chat at https://gitter.im/sympy/sympy](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/sympy/sympy?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Zenodo Badge](https://zenodo.org/badge/18918/sympy/sympy.svg)](https://zenodo.org/badge/latestdoi/18918/sympy/sympy)
[![Downloads](https://pepy.tech/badge/sympy/month)](https://pepy.tech/project/sympy)
Expand Down Expand Up @@ -135,7 +134,7 @@ in the current directory.

For the more fine-grained running of tests or doctests, use `bin/test`
or respectively `bin/doctest`. The master branch is automatically tested
by Travis CI.
by GitHub Actions.

To test pull requests, use
[sympy-bot](https://github.com/sympy/sympy-bot).
Expand Down
74 changes: 0 additions & 74 deletions asv.conf.travis.json

This file was deleted.

4 changes: 2 additions & 2 deletions bin/test_py2_import.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
#
# Tests that a useful message is give in the ImportError when trying to import
# sympy from Python 2. This is tested on Travis to ensure that we don't get a
# Py2 SyntaxError from sympy/__init__.py
# sympy from Python 2. This ensures that we don't get a Py2 SyntaxError from
# sympy/__init__.py

import sys
assert sys.version_info[:2] == (2, 7), "This test is for Python 2.7 only"
Expand Down
2 changes: 1 addition & 1 deletion bin/test_sphinx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ make man
make latexpdf LATEXMKOPTS="-halt-on-error -xelatex -silent" || {
echo "An error had occured during the LaTeX build";
tail -n 1000 _build/latex/*.log;
sleep 1; # A guard against travis running tail concurrently.
sleep 1; # A guard against the CI running tail concurrently.
exit 1;
}
Loading

0 comments on commit bcb8a73

Please sign in to comment.