Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updatating the DNS examples to non tracking #122

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Added the Focal Fossa test environment
Added Ubuntu 20.04 Focal Fossa test environment as Bionic it starting to leave the room

Also replaced MariaDB 10.4 (old stable) with MariaDB 10.5 (new stable)
  • Loading branch information
spirillen committed Oct 6, 2020
commit e237226bca5552ee8b7586c2f0a26846685db960
62 changes: 62 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
- TOXENV="py38"
script:
- tox --current-env
- language: generic
os: linux
dist: focal
name: "Code Test with Python 3.8.5 under Ubuntu 20.04 (Focal Fossa)"
env:
- PYTHON_VERSION="3.8.5"
- TOXENV="py38"
script:
- tox --current-env
- language: generic
os: osx
osx_image: xcode12
Expand All @@ -32,6 +41,15 @@ jobs:
- TOXENV="py37"
script:
- tox --current-env
- language: generic
os: linux
dist: focal
name: "Code Test with Python 3.7.8 under Ubuntu 20.04 (Focal Fossa)"
env:
- PYTHON_VERSION="3.7.8"
- TOXENV="py37"
script:
- tox --current-env
- language: generic
os: osx
osx_image: xcode12
Expand All @@ -50,6 +68,15 @@ jobs:
- TOXENV="py36"
script:
- tox --current-env
- language: generic
os: linux
dist: focal
name: "Code test with Python 3.6.11 under Ubuntu 20.04 (Focal Fossa)"
env:
- PYTHON_VERSION="3.6.11"
- TOXENV="py36"
script:
- tox --current-env
- language: generic
os: osx
osx_image: xcode12
Expand All @@ -70,6 +97,15 @@ jobs:
- TOXENV="py38"
script:
- tox --current-env -c tox_run.ini
- language: generic
os: linux
dist: focal
name: "Run with Python 3.8.5 under Ubuntu 20.04 (Focal Fossa)"
env:
- PYTHON_VERSION="3.8.5"
- TOXENV="py38"
script:
- tox --current-env -c tox_run.ini
- language: generic
if: branch =~ ^dev$
os: osx
Expand Down Expand Up @@ -106,6 +142,32 @@ jobs:
script:
- tox --current-env -c tox_run_mariadb.ini

- language: generic
os: linux
dist: focal
name: "Run with Python 3.8.5 under Ubuntu 20.04 (Focal Fossa) with MariaDB (10.5) as DB Type."
env:
- PYTHON_VERSION="3.8.5"
- TOXENV="py38"
addons:
mariadb: "10.5"
before_script:
- sudo systemctl restart mysql
- sudo mysql -u root -h localhost -e "CREATE DATABASE pyfunceble DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
- sudo mysql -u root -h localhost -e "CREATE USER 'root'@'%' IDENTIFIED BY ''"
- sudo mysql -u root -h localhost -e "CREATE USER 'pyfunceble'@'localhost' IDENTIFIED BY 'pyfunceble';"
- sudo mysql -u root -h localhost -e "GRANT ALL PRIVILEGES ON pyfunceble.* TO 'pyfunceble'@'localhost';"

- mkdir -p "tests_dir"
- echo 'PYFUNCEBLE_DB_CHARSET=utf8mb4' > tests_dir/.pyfunceble-env
- echo 'PYFUNCEBLE_DB_HOST="/var/run/mysqld/mysqld.sock"' >> tests_dir/.pyfunceble-env
- echo 'PYFUNCEBLE_DB_NAME="pyfunceble"' >> tests_dir/.pyfunceble-env
- echo 'PYFUNCEBLE_DB_PASSWORD="pyfunceble"' >> tests_dir/.pyfunceble-env
- echo 'PYFUNCEBLE_DB_PORT="3306"' >> tests_dir/.pyfunceble-env
- echo 'PYFUNCEBLE_DB_USERNAME="pyfunceble"' >> tests_dir/.pyfunceble-env
script:
- tox --current-env -c tox_run_mariadb.ini

- language: generic
if: branch =~ ^dev|master$
stage: "Deployments"
Expand Down