From 5ceaee1dc256550a141f36081d2fbb03872ea7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Wed, 31 Jan 2024 23:32:43 +0100 Subject: [PATCH] Remove unused travis configuration --- .travis-deploy-doc.sh | 21 ------------------- .travis-install.sh | 31 ----------------------------- .travis-test.sh | 8 -------- .travis.yml | 25 ----------------------- .travis_ci_gh_pages_deploy_key.enc | Bin 672 -> 0 bytes doc/news/travis.yml | 3 +++ 6 files changed, 3 insertions(+), 85 deletions(-) delete mode 100755 .travis-deploy-doc.sh delete mode 100755 .travis-install.sh delete mode 100755 .travis-test.sh delete mode 100644 .travis.yml delete mode 100644 .travis_ci_gh_pages_deploy_key.enc create mode 100644 doc/news/travis.yml diff --git a/.travis-deploy-doc.sh b/.travis-deploy-doc.sh deleted file mode 100755 index af5de58..0000000 --- a/.travis-deploy-doc.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -set -e -if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "${DEPLOY_DOC_FROM_BRANCH}" && -r .travis_ci_gh_pages_deploy_key ]]; then - chmod 600 .travis_ci_gh_pages_deploy_key - eval `ssh-agent -s` - ssh-add .travis_ci_gh_pages_deploy_key < /dev/null - rm -Rf gh-pages - git clone --depth 1 git@github.com:${DEPLOY_DOC_TO_REPOSITORY}.git --depth 1 --branch=gh-pages gh-pages - BUILT_DOCS_DIR=`cd docs/build/html && pwd` - cd gh-pages - rm -Rf ${DEPLOY_DOC_TO_DIRECTORY} - mkdir -p ${DEPLOY_DOC_TO_DIRECTORY} - cp -R $BUILT_DOCS_DIR/* ${DEPLOY_DOC_TO_DIRECTORY}/ - git add --all . - git config user.name "Travis CI" - git config user.email "nobody@example.org" - if git commit -m "Automatic upload of documentation built from ${TRAVIS_COMMIT}"; then - git push origin gh-pages - fi -fi -/usr/bin/killall python2 diff --git a/.travis-install.sh b/.travis-install.sh deleted file mode 100755 index 2768dd0..0000000 --- a/.travis-install.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/bash -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. This file is offered as-is, -# without any warranty. -set -e - -if [ "${SAGE_AGE}" == "-1" ]; then - sudo add-apt-repository ppa:aims/sagemath -y - sudo apt-get update -qq - sudo apt-get install sagemath-upstream-binary -y - cd $HOME - mkdir -p SageMath - sudo sage -pip install sphinxcontrib-websupport -else - SAGE_IMAGE=`python -c "import sage_version; print(sage_version.get_all_version_names('${SAGE_SERVER}index.html',${SAGE_AGE},'Ubuntu_18.04-x86_64'))"` - cd $HOME - echo "Obtaining Sage image:" ${SAGE_IMAGE} - if [ ! -x SageMath/sage ] ; then - rm -f SageMath.tar.bz2 - wget --progress=dot:giga ${SAGE_SERVER}${SAGE_IMAGE} -O SageMath.tar.bz2 - tar xf SageMath.tar.bz2 - fi - MAKE="make -j4" - export MAKE - # Install packages - #SageMath/sage -i lrslib - # To initialize matplotlib font manager - $HOME/SageMath/sage -python -c 'import matplotlib.pyplot' - $HOME/SageMath/sage -pip install --user sphinxcontrib-websupport -fi diff --git a/.travis-test.sh b/.travis-test.sh deleted file mode 100755 index abf8608..0000000 --- a/.travis-test.sh +++ /dev/null @@ -1,8 +0,0 @@ -#! /bin/sh -set -e - -mkdir -p $HOME/SageMath/build/pkgs -$HOME/SageMath/sage -pip install --upgrade -v -i https://pypi.python.org/pypi sagemath -$HOME/SageMath/sage -pip install --upgrade --no-index -v . -$HOME/SageMath/sage setup.py test -(cd docs && $HOME/SageMath/sage -sh -c "make html") diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index db566fb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: python -dist: bionic -matrix: - include: - - env: CACHE_NAME=latest DEPLOY_DOC_FROM_BRANCH=master DEPLOY_DOC_TO_REPOSITORY=mmasdeu/darmonpoints DEPLOY_DOC_TO_DIRECTORY=doc/html SAGE_LOCAL=$HOME/SageMath SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/ SAGE_AGE=0 - - env: CACHE_NAME=older SAGE_LOCAL=$HOME/SageMath SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/ SAGE_AGE=1 - allow_failures: - - env: CACHE_NAME=older SAGE_LOCAL=$HOME/SageMath SAGE_SERVER=http://mirrors.xmission.com/sage/linux/64bit/ SAGE_AGE=1 - -install: -- ./.travis-install.sh -script: -- ./.travis-test.sh -cache: - directories: - - $HOME/SageMath - - $HOME/.cache/matplotlib - timeout: 1000 -before_cache: -- rm -Rf $HOME/SageMath/logs $HOME/SageMath/.BUILDSTART -after_success: -- ./.travis-deploy-doc.sh -before_script: -- openssl aes-256-cbc -K $encrypted_111e15ae3c19_key -iv $encrypted_111e15ae3c19_iv - -in .travis_ci_gh_pages_deploy_key.enc -out .travis_ci_gh_pages_deploy_key -d \ No newline at end of file diff --git a/.travis_ci_gh_pages_deploy_key.enc b/.travis_ci_gh_pages_deploy_key.enc deleted file mode 100644 index da0aca40792bfc1c5b4b2f984d4723db3e51440e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 672 zcmV;R0$=@L;sq>t_}C@-f>~yEo+jR+4Awv_sz8z0v2Ibtm#{BCIWwK*Q{O>iqZb_e zO9!)l3G4kn(<1ld+GU0xMo1sA{o+*7_AUOT;iCzUU1<4ZukznSc;yNdl|B^wonYN$ zw6-1*+wj;rf!R2w?%DmAOY>gCxuE#NK=jCQ_AB+Dl(xsHM(Ec73^dgf{?$3VR{y^= zm1TPoF19L!w6fRL`R~S4oauXpY3$EGaQd)JZvA(xQ<+N>SY@{*9b0d!Tx-@72RrUbr5#N`K6r@RmxF>ba>A z6nmw$MO^)DNLB~ZXM*PU>!hOG&ck30&a$hQ8GK}Dh8ydy(#=%Bb`*pV!67^jcDqf_ zw*%V!o8ykw80oS}X0``AplXl|hHa^4LTpG$Qe^!MUgX`78%&H)w>UIhJH1&Z6D@ig zeTm6*ukwCZZs!5)mIF)`dQ>@AK(Xs-Rw$6SdzUD*!8^IkI4=i?sr2eSTnM9R!hIR9bExzu8XvbArISNug%$R#l1;mB+)`Nb znk(A4Zjz=u_I*jLzKq3dlkFL5i>j#u?ZnYynRi@EhSTdtUBsQFo0WMg$u;mlThd9T zyK=~w-o|T>-X_Ao0BptoDx5Ks^ZDsJ(#_9w9r!-%H4RaSXw6J)*p!t|I{(-~U#oJV Gv2S~x5nW0E diff --git a/doc/news/travis.yml b/doc/news/travis.yml new file mode 100644 index 0000000..918c172 --- /dev/null +++ b/doc/news/travis.yml @@ -0,0 +1,3 @@ +**Fixed:** + +* Removed unused Travis CI configuration.