forked from vernemq/vernemq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (31 loc) · 844 Bytes
/
.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
services:
- docker
- mysql
- postgresql
- mongodb
- redis
- memcached
before_install:
- sudo apt-get -y install libsnappy-dev
- mysql -e "CREATE DATABASE vmq_test_database;" -uroot
- mysql -e "CREATE USER 'vmq_test_user' IDENTIFIED BY 'vmq_test_password';" -uroot
- mysql -e "GRANT ALL PRIVILEGES ON * . * TO 'vmq_test_user';" -uroot
- psql -c "CREATE DATABASE vmq_test_database;" -U postgres
- psql -c "CREATE USER vmq_test_user WITH PASSWORD 'vmq_test_password';" -U postgres
- psql -c "GRANT ALL PRIVILEGES ON DATABASE vmq_test_database to vmq_test_user;" -U postgres
sudo: required
dist: trusty
language: erlang
install: true
otp_release:
- 22.0
- 22.2
- 22.3
- 23.0
cache:
directories:
- plts
- plts_base
before_script: "epmd -daemon"
script:
- ./rebar3 as all_tests do dialyzer, eunit, ct