Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 27642d07
authored
Oct 31, 2016
by
Sushant
Committed by
Jan Aagaard Meier
Oct 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: using takis and better image (#6774)
1 parent
45166079
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
.travis.yml
docker-compose.yml
.travis.yml
View file @
27642d0
...
...
@@ -19,7 +19,7 @@ env:
-
SEQ_MYSQL_USER
:
sequelize_test
-
SEQ_MYSQL_PW
:
sequelize_test
-
SEQ_MYSQL_HOST
:
127.0.0.1
-
SEQ_MYSQL_PORT
:
899
8
-
SEQ_MYSQL_PORT
:
899
9
# postgres info
-
SEQ_PG_DB
:
sequelize_test
-
SEQ_PG_USER
:
sequelize_test
...
...
@@ -35,7 +35,8 @@ env:
before_script
:
-
"
if
[
$POSTGRES_VER
]
||
[
$MYSQL_VER
];
then
docker-compose
up
-d
${POSTGRES_VER}
${MYSQL_VER};
fi"
-
"
sleep
30s"
# This allows enough time for docker to get up and running before tests occur
-
"
if
[
$MYSQL_VER
];
then
docker
run
--link
${MYSQL_VER}:db
-e
CHECK_PORT=3306
-e
CHECK_HOST=db
--net
sequelize_default
giorgos/takis;
fi"
-
"
if
[
$POSTGRES_VER
];
then
docker
run
--link
${POSTGRES_VER}:db
-e
CHECK_PORT=5432
-e
CHECK_HOST=db
--net
sequelize_default
giorgos/takis;
fi"
script
:
-
"
if
[
$COVERAGE
];
then
npm
run
cover
&&
bash
<(curl
-s
https://codecov.io/bash)
-f
coverage/lcov.info;
else
npm
run
test;
fi"
docker-compose.yml
View file @
27642d0
...
...
@@ -3,19 +3,21 @@ version: '2'
services
:
# PostgreSQL
postgres-95
:
image
:
camptocamp
/postgis:9.5
image
:
mdillon
/postgis:9.5
environment
:
POSTGRES_USER
:
sequelize_test
POSTGRES_PASSWORD
:
sequelize_test
ports
:
-
"
127.0.0.1:8999:5432"
container_name
:
postgres-95
postgres-94
:
image
:
camptocamp
/postgis:9.4
image
:
mdillon
/postgis:9.4
environment
:
POSTGRES_USER
:
sequelize_test
POSTGRES_PASSWORD
:
sequelize_test
ports
:
-
"
127.0.0.1:8999:5432"
container_name
:
postgres-94
# MySQL
mysql-57
:
...
...
@@ -26,7 +28,8 @@ services:
MYSQL_USER
:
sequelize_test
MYSQL_PASSWORD
:
sequelize_test
ports
:
-
"
127.0.0.1:8998:3306"
-
"
127.0.0.1:8999:3306"
container_name
:
mysql-57
mysql-56
:
image
:
mysql:5.6
environment
:
...
...
@@ -35,7 +38,8 @@ services:
MYSQL_USER
:
sequelize_test
MYSQL_PASSWORD
:
sequelize_test
ports
:
-
"
127.0.0.1:8998:3306"
-
"
127.0.0.1:8999:3306"
container_name
:
mysql-56
mysql-55
:
image
:
mysql:5.5
environment
:
...
...
@@ -44,4 +48,5 @@ services:
MYSQL_USER
:
sequelize_test
MYSQL_PASSWORD
:
sequelize_test
ports
:
-
"
127.0.0.1:8998:3306"
-
"
127.0.0.1:8999:3306"
container_name
:
mysql-55
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment