This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, pypostgresql has been created
at c99867920e19b5a7134c29ad17076f9c1287b972 (commit)
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/c99867920e19b5a7134c29ad17076f9c1287b972
commit c99867920e19b5a7134c29ad17076f9c1287b972
Author: Oleg Broytman <ph...@ph...>
Date: Wed Aug 23 09:05:38 2017 +0300
Tests(CI): Test fix_getuser branch for py-postgresql
diff --git a/.travis.yml b/.travis.yml
index 60548f8..6e7f9c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@
# Other branches can allow themselves.
branches:
only:
- - master
+ - pypostgresql
# Prefer docker container with setuid/sudo
sudo: required
@@ -15,149 +15,18 @@ python:
cache: pip
addons:
- apt:
- packages:
- - python-egenix-mxdatetime
- - python-mysqldb
- - python-psycopg2
- - python3-psycopg2
- - firebird2.5-super
postgresql: "9.4"
matrix:
include:
- - python: "2.7"
- env: TOXENV=py27-mysqldb
- - python: "3.4"
- env: TOXENV=py34-mysqlclient
- - python: "3.5"
- env: TOXENV=py35-mysqlclient
- - python: "3.6"
- env: TOXENV=py36-mysqlclient
- - python: "2.7"
- env: TOXENV=py27-mysql-connector
- - python: "3.4"
- env: TOXENV=py34-mysql-connector
- - python: "3.5"
- env: TOXENV=py35-mysql-connector
- - python: "3.6"
- env: TOXENV=py36-mysql-connector
- - python: "2.7"
- env: TOXENV=py27-mysql-oursql
- - python: "2.7"
- env: TOXENV=py27-pymysql
- - python: "3.4"
- env: TOXENV=py34-pymysql
- - python: "3.5"
- env: TOXENV=py35-pymysql
- - python: "3.6"
- env: TOXENV=py36-pymysql
- - python: "2.7"
- env: TOXENV=py27-postgres-psycopg
- - python: "3.4"
- env: TOXENV=py34-postgres-psycopg
- - python: "3.5"
- env: TOXENV=py35-postgres-psycopg
- - python: "3.6"
- env: TOXENV=py36-postgres-psycopg
- - python: "2.7"
- env: TOXENV=py27-postgres-pygresql
- - python: "3.4"
- env: TOXENV=py34-postgres-pygresql
- - python: "3.5"
- env: TOXENV=py35-postgres-pygresql
- - python: "3.6"
- env: TOXENV=py36-postgres-pygresql
- python: "3.4"
env: TOXENV=py34-pypostgresql
- - python: "3.5"
- env: TOXENV=py35-pypostgresql
- - python: "3.6"
- env: TOXENV=py36-pypostgresql
- - python: "2.7"
- env: TOXENV=py27-postgres-pg8000
- - python: "3.4"
- env: TOXENV=py34-postgres-pg8000
- - python: "3.5"
- env: TOXENV=py35-postgres-pg8000
- - python: "3.6"
- env: TOXENV=py36-postgres-pg8000
- - python: "2.7"
- env: TOXENV=py27-sqlite
- - python: "3.4"
- env: TOXENV=py34-sqlite
- - python: "3.5"
- env: TOXENV=py35-sqlite
- - python: "3.6"
- env: TOXENV=py36-sqlite
- - python: "2.7"
- env: TOXENV=py27-sqlite-memory
- - python: "3.4"
- env: TOXENV=py34-sqlite-memory
- - python: "3.5"
- env: TOXENV=py35-sqlite-memory
- - python: "3.6"
- env: TOXENV=py36-sqlite-memory
- - python: "2.7"
- env: TOXENV=py27-flake8
- - python: "3.4"
- env: TOXENV=py34-flake8
- - python: "2.7"
- env: TOXENV=py27-firebird-fdb
- - python: "3.4"
- env: TOXENV=py34-firebird-fdb
- - python: "3.5"
- env: TOXENV=py35-firebird-fdb
- - python: "3.6"
- env: TOXENV=py36-firebird-fdb
- - python: "2.7"
- env: TOXENV=py27-firebirdsql
- - python: "3.4"
- env: TOXENV=py34-firebirdsql
- - python: "3.5"
- env: TOXENV=py35-firebirdsql
- - python: "3.6"
- env: TOXENV=py36-firebirdsql
-
- allow_failures:
- - env: TOXENV=py27-postgres-pg8000
- - env: TOXENV=py27-firebird-fdb
- - env: TOXENV=py34-firebird-fdb
- - env: TOXENV=py35-firebird-fdb
- - env: TOXENV=py36-firebird-fdb
- - env: TOXENV=py27-firebirdsql
- - env: TOXENV=py34-firebirdsql
- - env: TOXENV=py35-firebirdsql
- - env: TOXENV=py36-firebirdsql
fast_finish: true
-before_install:
- # Start the firebird database server.
- # We use firebird-super, so there's none of the inetd configuration
- # required by firebird-classic.
- # We also create a test user for the firebird test and
- # create a script that can be fed into isql-fb
- # to create the test database.
- # Copied password initializtion from
- # https://github.com/xdenser/node-firebird-libfbclient/blob/master/.travis.yml
- - if [[ $TOXENV = *firebird* ]]; then
- sudo sed -i /etc/default/firebird2.5 -e 's/=no/=yes/' &&
- sudo /etc/init.d/firebird2.5-super start && sleep 5 &&
- sudo /bin/bash -c '(export FB_VER="2.5"; export FB_FLAVOUR="super";source /usr/share/firebird2.5-common/functions.sh; writeNewPassword masterkey)' &&
- sudo gsec -user sysdba -pass masterkey -add test -pw test &&
- sudo /bin/bash -c "echo \"CREATE DATABASE 'localhost:/tmp/test.fdb';\" > /var/lib/firebird/create_test_db" &&
- sudo chmod 644 /var/lib/firebird/create_test_db;
- fi
-
-install: travis_retry pip install tox coveralls codecov ppu
+install: travis_retry pip install tox ppu
script: tox -e ${TOXENV}
-after_success:
- - cd sqlobject
- - coveralls
- - codecov
-
before_cache:
- remove-old-files.py -o 180 ~/.cache/pip
diff --git a/appveyor.yml b/appveyor.yml
index 12ae77d..12982dd 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -7,7 +7,7 @@ version: '{branch}-{build}'
# Other branches can allow themselves.
branches:
only:
- - master
+ - pypostgresql
skip_branch_with_pr: false
skip_tags: true
@@ -18,11 +18,9 @@ cache:
clone_depth: 50
services:
- - mysql
- postgresql
environment:
- MYSQL_PWD: "Password12!"
PGUSER: "postgres"
PGPASSWORD: "Password12!"
@@ -33,106 +31,6 @@ environment:
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\run_with_env.cmd"
matrix:
- - TOX_ENV: "py27-mssql-pyodbc-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- db: mssql2014
- - TOX_ENV: "py34-mssql-pyodbc-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: mssql2014
- - TOX_ENV: "py27-mysql-connector-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- db: mysql
- - TOX_ENV: "py34-mysql-connector-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34"
- db: mysql
- - TOX_ENV: "py35-mysql-connector-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- db: mysql
- - TOX_ENV: "py36-mysql-connector-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36"
- db: mysql
- - TOX_ENV: "py27-mysql-pyodbc-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- db: mysql
- - TOX_ENV: "py34-mysql-pyodbc-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: mysql
- - TOX_ENV: "py27-postgres-psycopg-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- db: postgresql
- - TOX_ENV: "py27-postgres-psycopg-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- db: postgresql
- - TOX_ENV: "py34-postgres-psycopg-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34"
- db: postgresql
- - TOX_ENV: "py34-postgres-psycopg-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: postgresql
- - TOX_ENV: "py35-postgres-psycopg-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- db: postgresql
- - TOX_ENV: "py35-postgres-psycopg-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35-x64"
- db: postgresql
- - TOX_ENV: "py36-postgres-psycopg-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36"
- db: postgresql
- - TOX_ENV: "py36-postgres-psycopg-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
- db: postgresql
- - TOX_ENV: "py27-postgres-pygresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- db: postgresql
- - TOX_ENV: "py34-postgres-pygresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: postgresql
- - TOX_ENV: "py35-postgres-pygresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35-x64"
- db: postgresql
- - TOX_ENV: "py36-postgres-pygresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
- db: postgresql
- TOX_ENV: "py34-pypostgresql-w32"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.4"
@@ -143,124 +41,6 @@ environment:
PYTHON_VERSION: "3.4"
PYTHON_HOME: "C:\\Python34-x64"
db: postgresql
- - TOX_ENV: "py35-pypostgresql-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- db: postgresql
- - TOX_ENV: "py35-pypostgresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35-x64"
- db: postgresql
- - TOX_ENV: "py36-pypostgresql-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36"
- db: postgresql
- - TOX_ENV: "py36-pypostgresql-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
- db: postgresql
- - TOX_ENV: "py27-postgres-pg8000-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- db: postgresql
- - TOX_ENV: "py27-postgres-pg8000-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- db: postgresql
- - TOX_ENV: "py34-postgres-pg8000-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34"
- db: postgresql
- - TOX_ENV: "py34-postgres-pg8000-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: postgresql
- - TOX_ENV: "py35-postgres-pg8000-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- db: postgresql
- - TOX_ENV: "py35-postgres-pg8000-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35-x64"
- db: postgresql
- - TOX_ENV: "py36-postgres-pg8000-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36"
- db: postgresql
- - TOX_ENV: "py36-postgres-pg8000-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
- db: postgresql
- - TOX_ENV: "py27-postgres-pyodbc-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- db: postgresql
- - TOX_ENV: "py34-postgres-pyodbc-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- db: postgresql
- - TOX_ENV: "py27-sqlite-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- - TOX_ENV: "py27-sqlite-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27-x64"
- - TOX_ENV: "py34-sqlite-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34"
- - TOX_ENV: "py34-sqlite-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- - TOX_ENV: "py35-sqlite-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- - TOX_ENV: "py35-sqlite-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35-x64"
- - TOX_ENV: "py36-sqlite-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36"
- - TOX_ENV: "py36-sqlite-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
- - TOX_ENV: "py27-sqlite-memory-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Python27"
- - TOX_ENV: "py34-sqlite-memory-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Python34-x64"
- - TOX_ENV: "py35-sqlite-memory-w32"
- PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Python35"
- - TOX_ENV: "py36-sqlite-memory-w32"
- PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.6"
- PYTHON_HOME: "C:\\Python36-x64"
install:
# Ensure we use the right python version
@@ -270,24 +50,6 @@ install:
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "pip --version"
- "pip install tox ppu"
- # List ODBC drivers
- - ps: Get-OdbcDriver -Platform 32-bit | Select-Object -ExpandProperty Name
- - ps: Get-OdbcDriver -Platform 64-bit | Select-Object -ExpandProperty Name
- # Enable TCP for mssql
- - ps: |
- [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null
- [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.SqlWmiManagement") | Out-Null
- $serverName = $env:COMPUTERNAME
- $instanceName = 'SQL2014'
- $smo = 'Microsoft.SqlServer.Management.Smo.'
- $wmi = new-object ($smo + 'Wmi.ManagedComputer')
- $uri = "ManagedComputer[@Name='$serverName']/ServerInstance[@Name='$instanceName']/ServerProtocol[@Name='Tcp']"
- $Tcp = $wmi.GetSmoObject($uri)
- $Tcp.IsEnabled = $true
- $TCP.alter()
- Set-Service SQLBrowser -StartupType Manual
- Start-Service SQLBrowser
- Start-Service "MSSQL`$$instanceName"
# Not a C project, so no build step
build: false
-----------------------------------------------------------------------
hooks/post-receive
--
SQLObject development repository
|