diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1ccd8c38..00000000 --- a/.travis.yml +++ /dev/null @@ -1,32 +0,0 @@ -sudo: required - -services: - - docker - -install: - - sed -e 's/${PYTHON_VERSION}/'${PYTHON_VERSION}/g DockerfileTests.tpl > /tmp/DockerfileTests - - docker-compose build - -script: - - docker-compose run tests - -before_deploy: -- sudo pip install twine -- sudo pip install urllib3[secure] - -deploy: - provider: pypi - edge: - branch: v1.8.45 - user: noplay - password: - secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI= - on: - tags: true - repo: GNS3/gns3-server - -env: - matrix: - - PYTHON_VERSION=3.6 - - PYTHON_VERSION=3.7 - - PYTHON_VERSION=3.8 diff --git a/DockerfileTests.tpl b/DockerfileTests.tpl deleted file mode 100644 index d34542e4..00000000 --- a/DockerfileTests.tpl +++ /dev/null @@ -1,15 +0,0 @@ -FROM python:${PYTHON_VERSION} - -RUN pip install -U setuptools pip - -ADD requirements.txt /server/requirements.txt -ADD dev-requirements.txt /server/dev-requirements.txt - -RUN pip install -r/server/dev-requirements.txt - -RUN useradd -ms /bin/bash gns3 - -USER gns3 - -ADD . /server -WORKDIR /server diff --git a/README.rst b/README.rst index 250cc4ed..1bff34ba 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,8 @@ GNS3-server =========== -.. image:: https://travis-ci.org/GNS3/gns3-server.svg?branch=master - :target: https://travis-ci.org/GNS3/gns3-server +.. image:: https://github.com/GNS3/gns3-server/workflows/testing/badge.svg + :target: https://github.com/GNS3/gns3-server/actions?query=workflow%3Atesting .. image:: https://img.shields.io/pypi/v/gns3-server.svg :target: https://pypi.python.org/pypi/gns3-server diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 9d30d366..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,4 +0,0 @@ -tests: - build: . - dockerfile: /tmp/DockerfileTests - command: py.test -v -s tests