From a6f20f7708e97aa4eae87357f55be56f4828ecd5 Mon Sep 17 00:00:00 2001 From: Chyroc Chen Date: Sat, 14 Jan 2017 15:36:44 +0800 Subject: [PATCH] support mysql-for-test --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3f43c36..22ae57f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,8 @@ node_js: - "4" before_install: - - docker run -d -p 12000:12000 jimexist/sqoop:1.99.7-2 + - docker run --name mysql-for-test -e MYSQL_ROOT_PASSWORD=12345678 -d mysql + - docker run --name sqoop-for-test --link mysql-for-test:mysql -d -p 12000:12000 jimexist/sqoop:1.99.7-2 script: npm run coverage \ No newline at end of file