typeorm-model-generator/.travis.yml

29 lines
783 B
YAML
Raw Normal View History

2017-05-03 17:47:01 +00:00
language: node_js
2017-05-14 13:08:18 +00:00
2017-05-03 17:47:01 +00:00
node_js:
- stable
- 8
2017-05-03 17:47:01 +00:00
- 6
2017-05-14 13:08:18 +00:00
2017-05-14 13:00:03 +00:00
sudo: required
2017-05-14 13:08:18 +00:00
2017-05-14 13:00:03 +00:00
services:
- docker
2017-05-14 13:08:18 +00:00
2017-05-14 12:53:06 +00:00
env:
- POSTGRES_Skip=0 POSTGRES_Host=localhost POSTGRES_Port=5432 POSTGRES_Username=postgres POSTGRES_Password=!Passw0rd POSTGRES_Database=typeorm_mg POSTGRES_SSL=0 MYSQL_Skip=0 MYSQL_Host=localhost MYSQL_Port=3306 MYSQL_Username=root MYSQL_Password=!Passw0rd MYSQL_Database=typeorm_mg MYSQL_SSL=1 MARIADB_Skip=0 MARIADB_Host=localhost MARIADB_Port=3307 MARIADB_Username=root MARIADB_Password=!Passw0rd MARIADB_Database=typeorm_mg MARIADB_SSL=0
2017-08-14 14:38:18 +00:00
2017-05-14 13:08:18 +00:00
before_install:
2017-08-14 17:51:41 +00:00
- sudo service mysql stop
- sudo service postgresql stop
2017-12-19 22:04:38 +00:00
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- docker-compose up -d
2017-05-14 13:34:41 +00:00
2017-05-14 13:08:18 +00:00
before_script:
2017-05-03 17:51:35 +00:00
- npm run typings-install
2017-06-17 15:30:39 +00:00
- npm link typescript
2017-05-14 12:53:06 +00:00
- tsc