summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-11-12 12:54:38 -0800
committerGitHub <noreply@github.com>2020-11-12 12:54:38 -0800
commitc2004ff9647653baa68182b8cb3287d12c5f9343 (patch)
treef8fee72c27ef09539246ee1441bd7bcf131781a4 /tools
parent6662e586489520ea6cb9aff3e8f18d9cbc080839 (diff)
downloadnetworkx-c2004ff9647653baa68182b8cb3287d12c5f9343.tar.gz
Switch from travis to gh actions (#4320)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis/before_install.sh7
-rwxr-xr-xtools/travis/script.sh16
2 files changed, 0 insertions, 23 deletions
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh
index 910bf920..fcf0f05f 100755
--- a/tools/travis/before_install.sh
+++ b/tools/travis/before_install.sh
@@ -12,11 +12,4 @@ section_end () {
export -f section
export -f section_end
-if [[ "${MINIMUM_REQUIREMENTS}" == 1 ]]; then
- sed -i 's/>=/==/g' requirements/default.txt
- sed -i 's/>=/==/g' requirements/extra.txt
- sed -i 's/>=/==/g' requirements/test.txt
- sed -i 's/>=/==/g' requirements/doc.txt
-fi
-
set +e
diff --git a/tools/travis/script.sh b/tools/travis/script.sh
deleted file mode 100755
index a5494a9e..00000000
--- a/tools/travis/script.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-section "script section"
-
-# Run pytest.
-if [[ "${REPORT_COVERAGE}" == 1 ]]; then
- pytest --cov=networkx --runslow --doctest-modules --pyargs networkx
-else
- pytest --doctest-modules --durations=10 --pyargs networkx
-fi
-
-section_end "script section"
-
-set +e