Skip to content

Commit f83facc

Browse files
author
Shlomi Noach
authored
Merge pull request #546 from github/gh-ost-ci-env
Adding localtests via gh-ost-ci-env
2 parents d6f4ed7 + 994304d commit f83facc

File tree

16 files changed

+127
-8
lines changed

16 files changed

+127
-8
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,22 @@ os:
88

99
env:
1010
- MYSQL_USER=root
11+
- CURRENT_CI_ENV=travis
12+
13+
addons:
14+
apt:
15+
packages:
16+
- git
17+
- numactl
18+
- libaio1
1119

1220
before_install:
1321
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
1422

1523
install: true
1624

17-
script: script/cibuild
25+
script:
26+
- script/cibuild
1827

1928
notifications:
2029
email: false

go/cmd/gh-ost/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func acceptSignals(migrationContext *base.MigrationContext) {
4444
// main is the application's entry point. It will either spawn a CLI or HTTP interfaces.
4545
func main() {
4646
migrationContext := base.NewMigrationContext()
47-
4847
flag.StringVar(&migrationContext.InspectorConnectionConfig.Key.Hostname, "host", "127.0.0.1", "MySQL hostname (preferably a replica, not the master)")
4948
flag.StringVar(&migrationContext.AssumeMasterHostname, "assume-master-host", "", "(optional) explicitly tell gh-ost the identity of the master. Format: some.host.com[:port] This is useful in master-master setups where you wish to pick an explicit master, or in a tungsten-replicator where gh-ost is unable to determine the master")
5049
flag.IntVar(&migrationContext.InspectorConnectionConfig.Key.Port, "port", 3306, "MySQL port (preferably a replica, not the master)")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)

localtests/datetime/ignore_versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)

localtests/json57/ignore_versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5|5.6)

localtests/json57dml/ignore_versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5|5.6)

localtests/swap-pk-uk/ignore_versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)

localtests/swap-uk-uk/ignore_versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(5.5)

0 commit comments

Comments
 (0)