From f130b43808090b88472e4f462632b1a8c7800896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven!=20Ragnar=C3=B6k?= Date: Tue, 9 Jul 2024 16:53:39 -0700 Subject: [PATCH] Remove old test configuration files. Travis CI has long since stopped providing value to open source projects and I believe that the Earthly builds cover the same local testing niche as the Vagrant files, which I was not able to successful update. If another maintainer or contributor wants to restore the Vagrant support I will help as I can, but I don't have a working vagrant provider locally. --- .travis.yml | 28 ---------------------- MANIFEST.in | 2 -- README.rst | 2 +- Vagrantfile.debian-10-bookworm.rb | 37 ----------------------------- Vagrantfile.debian-7-wheezy.rb | 37 ----------------------------- Vagrantfile.ubuntu-12.04-precise.rb | 37 ----------------------------- Vagrantfile.ubuntu-14.04-trusty.rb | 37 ----------------------------- 7 files changed, 1 insertion(+), 179 deletions(-) delete mode 100644 .travis.yml delete mode 100644 Vagrantfile.debian-10-bookworm.rb delete mode 100644 Vagrantfile.debian-7-wheezy.rb delete mode 100644 Vagrantfile.ubuntu-12.04-precise.rb delete mode 100644 Vagrantfile.ubuntu-14.04-trusty.rb diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b9c27527..00000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -# http://travis-ci.org/#!/astraw/stdeb -language: python -arch: - - amd64 - - ppc64le -python: - - "2.7_with_system_site_packages" - - "3.5_with_system_site_packages" -before_install: - - sudo apt-get update - - sudo apt-get install fakeroot python-all-dev python3-all-dev debhelper python-setuptools python3-setuptools apt-file python-requests - - wget http://debs.strawlab.org/precise/python3-requests_2.3.0-0ads1_all.deb -O python3-requests_2.3.0-0ads1_all.deb - - sudo dpkg -i python3-requests_2.3.0-0ads1_all.deb -install: - - which python - - which pip - - pip --version - - python -c "import sys; print(sys.version)" - # Build a .deb file and then install it. - - python setup.py --command-packages=stdeb.command bdist_deb - - for f in deb_dist/*.deb; do echo; echo $f; dpkg --contents $f; done - - sudo dpkg -i deb_dist/*.deb -script: - - sudo env "PATH=$PATH" bash -x ./test.sh - - sudo env "PATH=$PATH" bash -x ./test-pypi-install.sh - - sudo env "PATH=$PATH" bash -x ./test2and3.sh - - pip install flake8 - - flake8 --extend-ignore D scripts/* stdeb/ test_data/ `python -c "import sys;sys.stdout.write('--extend-exclude py3_module.py') if sys.version_info[0] == 2 else sys"` diff --git a/MANIFEST.in b/MANIFEST.in index 3c086a44..39d4c428 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,4 @@ include *.sh include stdeb.cfg include MANIFEST.in include .gitignore -include .travis.yml -include Vagrantfile* recursive-include test_data * diff --git a/README.rst b/README.rst index 69e0abb3..f76bae37 100644 --- a/README.rst +++ b/README.rst @@ -883,7 +883,7 @@ Additional Credits * kzwin for interop with virtualenv * GitHub_ for hosting services. * WebFaction_ (aka `python-hosting`_) for previous hosting services. -* TravisCI_ for continuous integration +* TravisCI_ for previous continuous integration support .. _GitHub: http://github.com/ .. _WebFaction: http://webfaction.com/ diff --git a/Vagrantfile.debian-10-bookworm.rb b/Vagrantfile.debian-10-bookworm.rb deleted file mode 100644 index eddd188f..00000000 --- a/Vagrantfile.debian-10-bookworm.rb +++ /dev/null @@ -1,37 +0,0 @@ -# encoding: utf-8 - -# -*- mode: ruby -*- -# vi: set ft=ruby : - -Vagrant::Config.run do |config| - config.vm.box_url = "https://downloads.sourceforge.net/project/vagrantboxjessie/debian80.box" - config.vm.box = "debian80" - - # install prerequisites for stdeb and tests - config.vm.provision :shell, :inline => "apt-get update" - config.vm.provision :shell, :inline => <<-SH - export DEBIAN_FRONTEND=noninteractive - apt-get install --yes build-essential debhelper python-all-dev python-setuptools apt-file python-requests python3-all-dev python3-setuptools libpq-dev - wget http://debs.strawlab.org/precise/python3-requests_2.3.0-0ads1_all.deb -O python3-requests_2.3.0-0ads1_all.deb - dpkg -i python3-requests_2.3.0-0ads1_all.deb -SH - - # We need to copy files to a new dir to prevent vagrant filesystem issues. - config.vm.provision :shell, :inline => "cp -a /vagrant /tmp/vagrant_copy" - - # Install stdeb - config.vm.provision :shell, :inline => "rm -rf /tmp/vagrant_copy/deb_dist" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True --no-python3-scripts=True install_deb" - - # Run tests. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test-pypi-install.sh" - - # Run tests on Python 3. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test-pypi-install.sh" - - # Run more tests - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test2and3.sh" - -end diff --git a/Vagrantfile.debian-7-wheezy.rb b/Vagrantfile.debian-7-wheezy.rb deleted file mode 100644 index a1f105f5..00000000 --- a/Vagrantfile.debian-7-wheezy.rb +++ /dev/null @@ -1,37 +0,0 @@ -# encoding: utf-8 - -# -*- mode: ruby -*- -# vi: set ft=ruby : - -Vagrant::Config.run do |config| - config.vm.box_url = "https://dl.dropboxusercontent.com/s/3jz559mjz2aw4gs/debian-wheezy-64-vanilla.box" - config.vm.box = "debian-wheezy-64-vanilla" - - # install prerequisites for stdeb and tests - config.vm.provision :shell, :inline => "apt-get update" - config.vm.provision :shell, :inline => <<-SH - export DEBIAN_FRONTEND=noninteractive - apt-get install --yes debhelper python-all-dev python-setuptools apt-file python-requests python3-all-dev python3-setuptools libpq-dev - wget http://debs.strawlab.org/precise/python3-requests_2.3.0-0ads1_all.deb -O python3-requests_2.3.0-0ads1_all.deb - dpkg -i python3-requests_2.3.0-0ads1_all.deb -SH - - # We need to copy files to a new dir to prevent vagrant filesystem issues. - config.vm.provision :shell, :inline => "cp -a /vagrant /tmp/vagrant_copy" - - # Install stdeb - config.vm.provision :shell, :inline => "rm -rf /tmp/vagrant_copy/deb_dist" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True --no-python3-scripts=True install_deb" - - # Run tests. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test-pypi-install.sh" - - # Run tests on Python 3. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test-pypi-install.sh" - - # Run more tests - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test2and3.sh" - -end diff --git a/Vagrantfile.ubuntu-12.04-precise.rb b/Vagrantfile.ubuntu-12.04-precise.rb deleted file mode 100644 index d25f0b7f..00000000 --- a/Vagrantfile.ubuntu-12.04-precise.rb +++ /dev/null @@ -1,37 +0,0 @@ -# encoding: utf-8 - -# -*- mode: ruby -*- -# vi: set ft=ruby : - -Vagrant::Config.run do |config| - config.vm.box = "precise64" - config.vm.box_url = "http://files.vagrantup.com/precise64.box" - - # install prerequisites for stdeb and tests - config.vm.provision :shell, :inline => "apt-get update" - config.vm.provision :shell, :inline => <<-SH - export DEBIAN_FRONTEND=noninteractive - apt-get install --yes debhelper python-all-dev python-setuptools apt-file python-requests python3-all-dev python3-setuptools libpq-dev - wget http://debs.strawlab.org/precise/python3-requests_2.3.0-0ads1_all.deb -O python3-requests_2.3.0-0ads1_all.deb - dpkg -i python3-requests_2.3.0-0ads1_all.deb -SH - - # We need to copy files to a new dir to prevent vagrant filesystem issues. - config.vm.provision :shell, :inline => "cp -a /vagrant /tmp/vagrant_copy" - - # Install stdeb - config.vm.provision :shell, :inline => "rm -rf /tmp/vagrant_copy/deb_dist" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True --no-python3-scripts=True install_deb" - - # Run tests. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test-pypi-install.sh" - - # Run tests on Python 3. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test-pypi-install.sh" - - # Run more tests - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test2and3.sh" - -end diff --git a/Vagrantfile.ubuntu-14.04-trusty.rb b/Vagrantfile.ubuntu-14.04-trusty.rb deleted file mode 100644 index 7d297a7b..00000000 --- a/Vagrantfile.ubuntu-14.04-trusty.rb +++ /dev/null @@ -1,37 +0,0 @@ -# encoding: utf-8 - -# -*- mode: ruby -*- -# vi: set ft=ruby : - -Vagrant::Config.run do |config| - config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" - config.vm.box = "trusty-server-cloudimg-amd64-vagrant-disk1" - - # install prerequisites for stdeb and tests - config.vm.provision :shell, :inline => "apt-get update" - config.vm.provision :shell, :inline => <<-SH - export DEBIAN_FRONTEND=noninteractive - apt-get install --yes debhelper python-all-dev python-setuptools apt-file python-requests python3-all-dev python3-setuptools libpq-dev - wget http://debs.strawlab.org/precise/python3-requests_2.3.0-0ads1_all.deb -O python3-requests_2.3.0-0ads1_all.deb - dpkg -i python3-requests_2.3.0-0ads1_all.deb -SH - - # We need to copy files to a new dir to prevent vagrant filesystem issues. - config.vm.provision :shell, :inline => "cp -a /vagrant /tmp/vagrant_copy" - - # Install stdeb - config.vm.provision :shell, :inline => "rm -rf /tmp/vagrant_copy/deb_dist" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True --no-python3-scripts=True install_deb" - - # Run tests. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test-pypi-install.sh" - - # Run tests on Python 3. - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test.sh" - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && PYEXE=/usr/bin/python3 ./test-pypi-install.sh" - - # Run more tests - config.vm.provision :shell, :inline => "cd /tmp/vagrant_copy && ./test2and3.sh" - -end