Skip to content

Commit

Permalink
Just disable most of the test for travis.
Browse files Browse the repository at this point in the history
Signed-off-by: Laurents Meyer <[email protected]>
  • Loading branch information
lauxjpn committed Sep 23, 2019
1 parent d8f73dc commit 73bd33f
Showing 1 changed file with 31 additions and 22 deletions.
53 changes: 31 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ dist: xenial
services: docker

env:
# - IMAGE=mysql:5.6
# NAME=mysql
# OMIT_FEATURES=Ed25519,Json,Sha256Password,RsaEncryption,LargePackets,CachingSha2Password,SessionTrack,Tls11,Tls12,UuidToBin
# - IMAGE=mysql:5.7
# NAME=mysql
# OMIT_FEATURES=Ed25519,RsaEncryption,CachingSha2Password,Tls12,UuidToBin
- IMAGE=mysql:5.6
NAME=mysql
OMIT_FEATURES=Ed25519,Json,Sha256Password,RsaEncryption,LargePackets,CachingSha2Password,SessionTrack,Tls11,Tls12,UuidToBin
- IMAGE=mysql:5.7
NAME=mysql
OMIT_FEATURES=Ed25519,RsaEncryption,CachingSha2Password,Tls12,UuidToBin
- IMAGE=mysql:8.0
NAME=mysql
OMIT_FEATURES=Ed25519
# - IMAGE=percona:5.7.22
# NAME=percona
# OMIT_FEATURES=CachingSha2Password,Ed25519,UuidToBin
# - IMAGE=mariadb:10.2
# NAME=mariadb
# OMIT_FEATURES=Ed25519,Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin
# - IMAGE=mariadb:10.3
# NAME=mariadb
# OMIT_FEATURES=Ed25519,Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin
# - IMAGE=mariadb:10.4
# NAME=mariadb
# OMIT_FEATURES=Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin
- IMAGE=percona:5.7.22
NAME=percona
OMIT_FEATURES=CachingSha2Password,Ed25519,UuidToBin
- IMAGE=mariadb:10.2
NAME=mariadb
OMIT_FEATURES=Ed25519,Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin
- IMAGE=mariadb:10.3
NAME=mariadb
OMIT_FEATURES=Ed25519,Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin
- IMAGE=mariadb:10.4
NAME=mariadb
OMIT_FEATURES=Json,Sha256Password,CachingSha2Password,RoundDateTime,UuidToBin

before_install:
- .ci/docker-run.sh $IMAGE $NAME 3307 $OMIT_FEATURES
Expand All @@ -40,14 +40,23 @@ before_install:
- export DOTNET_ROOT=$HOME/dotnet
- export PATH=$HOME/dotnet:$PATH
- dotnet --info
#- sudo apt-get -y install haveged
#- sudo service haveged start
# make tmpfs and run MySQL on it for reasonable performance
#- sudo mkdir /mnt/ramdisk
#- sudo mount -t tmpfs -o size=1024m tmpfs /mnt/ramdisk
#- sudo service mysql stop
#- sudo mv /var/lib/mysql /mnt/ramdisk
#- sudo ln -s /mnt/ramdisk/mysql /var/lib/mysql
#- sudo service mysql start

script:
- dotnet restore
#- pushd tests/MySqlConnector.Tests && dotnet test -c Release && popd
- pushd tests/MySqlConnector.Tests && dotnet test -c Release && popd
#- pushd tests/Conformance.Tests && CONNECTION_STRING="Server=localhost;Port=3307;User Id=mysqltest;Password=test;SSL Mode=None" dotnet test -c Release && popd
- pushd tests/SideBySide
- dotnet build SideBySide.csproj -c Release -f netcoreapp2.0
- echo 'Executing netcoreapp1.1.2 tests with No Compression, No SSL' && ../../.ci/use-config.sh config.json 172.17.0.1 3307 $NAME $OMIT_FEATURES && time dotnet test -c Release -f netcoreapp1.1.2 -v:n -d:diagnostics.log
#- pushd tests/SideBySide
#- dotnet build SideBySide.csproj -c Release -f netcoreapp2.0
#- echo 'Executing netcoreapp1.1.2 tests with No Compression, No SSL' && ../../.ci/use-config.sh config.json 172.17.0.1 3307 $NAME $OMIT_FEATURES && time dotnet test -c Release -f netcoreapp1.1.2 -v:n -d:diagnostics.log
#- echo 'Executing netcoreapp2.0 tests with No Compression, No SSL' && ../../.ci/use-config.sh config.json 172.17.0.1 3307 $NAME $OMIT_FEATURES && time dotnet test -c Release -f netcoreapp2.0
#- echo 'Executing netcoreapp2.1 tests with No Compression, No SSL' && ../../.ci/use-config.sh config.json 172.17.0.1 3307 $NAME $OMIT_FEATURES && time dotnet test -c Release -f netcoreapp2.1
#- echo 'Executing netcoreapp2.1 tests with Compression, No SSL' && ../../.ci/use-config.sh config.compression.json 172.17.0.1 3307 $NAME $OMIT_FEATURES && time dotnet test -c Release -f netcoreapp2.1
Expand Down

0 comments on commit 73bd33f

Please sign in to comment.