Skip to content

Commit

Permalink
travis: do not run compile check in matrix builds (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt committed May 25, 2020
1 parent 128a673 commit db7a5f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -39,6 +39,7 @@ jobs:
- cp .travis/docker.cnf ~/.my.cnf
- .travis/wait_mysql.sh
before_script:
- export cross_compile=false
- export MYSQL_TEST_USER=gotest
- export MYSQL_TEST_PASS=secret
- export MYSQL_TEST_ADDR=127.0.0.1:3307
Expand All @@ -58,6 +59,7 @@ jobs:
- cp .travis/docker.cnf ~/.my.cnf
- .travis/wait_mysql.sh
before_script:
- export cross_compile=false
- export MYSQL_TEST_USER=gotest
- export MYSQL_TEST_PASS=secret
- export MYSQL_TEST_ADDR=127.0.0.1:3307
Expand All @@ -77,6 +79,7 @@ jobs:
- cp .travis/docker.cnf ~/.my.cnf
- .travis/wait_mysql.sh
before_script:
- export cross_compile=false
- export MYSQL_TEST_USER=gotest
- export MYSQL_TEST_PASS=secret
- export MYSQL_TEST_ADDR=127.0.0.1:3307
Expand All @@ -96,6 +99,7 @@ jobs:
- cp .travis/docker.cnf ~/.my.cnf
- .travis/wait_mysql.sh
before_script:
- export cross_compile=false
- export MYSQL_TEST_USER=gotest
- export MYSQL_TEST_PASS=secret
- export MYSQL_TEST_ADDR=127.0.0.1:3307
Expand All @@ -113,6 +117,7 @@ jobs:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
before_script:
- export cross_compile=false
- echo -e "[server]\ninnodb_log_file_size=256MB\ninnodb_buffer_pool_size=512MB\nmax_allowed_packet=16MB\nlocal_infile=1" >> /usr/local/etc/my.cnf
- mysql.server start
- mysql -uroot -e 'CREATE USER gotest IDENTIFIED BY "secret"'
Expand All @@ -127,6 +132,6 @@ script:
- go test -v -covermode=count -coverprofile=coverage.out
- go vet ./...
- .travis/gofmt.sh
- .travis/complie_check.sh
- if [ "$cross_compile" != "false" ]; then .travis/compile_check.sh; fi
after_script:
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
File renamed without changes.

0 comments on commit db7a5f2

Please sign in to comment.