forked from join-monster/join-monster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (39 loc) · 1.59 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: node_js
dist: xenial
node_js:
- 10
- 12
- 13
- 14
deploy:
provider: npm
skip_cleanup: 'true'
email: [email protected]
on:
tags: true
repo: join-monster/join-monster
branch: master
api_key:
secure: 2232zWh7/w/DljGBoeLOiR/49pYTSGHr82N+g4zHEyoEmh+VzSXqioqYPziKYLa5Xq8o6WFtlLO0DlfDU/KrR/wY5PlM2FDMPN3MqoESA+UWO1k1qiyAj/QbpgZd1BFiRmV59gXBz9NH2FVa5UmjFfq4objhgR8waWrIqf307zoTeruaEh18EuTiRH7HwT0pqdkyIQkFy8LWN9CMsCnTJIQziA7RbRX+XuMdO53FIBdMkaK8cRJsj9BKaImqdWwQV3ddvGOHMwevCdHDB8V0r1c1//REfcnd1vYHL8BNrkib8/bOKU6l/mlDbtXAd2sTdi47pQoaOkQ1ZcpO+2tToPIcZqCVeHPWMGjbeiP+xcs9GPibIpdnw5Qp+Y1DNIeoyVJ8FNkMlmygBaaoYfFt5jdqV49eepiQw7S0v4PMIXvh44JCn1yQBWXvp74E708paS93pxmzVqvcZrFlEX1SIdZH9+AA5Cmd3hE2fxMQcF2z+HVhHk1nJUIGVhIsuDsodeCkHViNS7LHs5guO1Fsi/Yyv8MpB9r9iQKvIefAOhWFGAH2n7WGV1zJ6SGx0VtLwNxYUytOH1RHtyCxl2NIml2atWFVZ3pQIWAApCvfTQV18DfgVzYK180GsuD+0v2Dxn6179OrO2xsYp+ZUMFkjGGqr7c5epkHAMDZP5WuRDw=
addons:
postgresql: '9.4'
mariadb: '10.2'
# need a C++ compiler for sqlite3
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_script:
# create the databases
- psql -c "CREATE DATABASE test1 LC_COLLATE 'en_US.UTF-8';" -U postgres
- psql -c "CREATE DATABASE test2 LC_COLLATE 'en_US.UTF-8';" -U postgres
- psql -c "CREATE DATABASE demo LC_COLLATE 'en_US.UTF-8';" -U postgres
- echo "CREATE DATABASE test1" | mysql -u root
- echo "CREATE DATABASE test2" | mysql -u root
# populate them with data
- npm run db-build
env:
- MYSQL_URL=mysql://root@localhost/ PG_URL=postgres://postgres@localhost/ CXX=g++-4.8
notifications:
email: false