forked from querydsl/querydsl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 1.3 KB
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 1.3 KB
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
language: java
jdk:
- oraclejdk7
services:
- mongodb
addons:
postgresql: "9.3"
install:
- sh -c 'cd querydsl-root && mvn -B -q install -Dmaven.javadoc.skip=true -DskipTests=true'
before_script:
- mysql -e "create database querydsl;" -u root
- mysql -e "create database querydsl2;" -u root
- mysql -e "create user 'querydsl'@'localhost' identified by 'querydsl';" -u root
- mysql -e "grant all privileges on querydsl.* to 'querydsl'@'localhost';" -u root
- mysql -e "grant all privileges on querydsl2.* to 'querydsl'@'localhost';" -u root
- psql -c 'create database querydsl;' -U postgres
- psql -c 'create database querydsl2;' -U postgres
- psql -c "create user querydsl with password 'querydsl';" -U postgres
- psql -c 'grant all privileges on database querydsl to querydsl;' -U postgres
- psql -c 'grant all privileges on database querydsl2 to querydsl;' -U postgres
- psql -c 'create extension postgis;' -d querydsl -U postgres
- echo 'yes' | sudo add-apt-repository ppa:cubrid/cubrid
- sudo apt-get update
- sudo apt-get install cubrid
- sudo apt-get install cubrid-demodb
- /etc/profile.d/cubrid.sh
- hostname | sed 's/^/127.0.0.1 /g' | cat - /etc/hosts > /tmp/etchoststemp && sudo mv /tmp/etchoststemp /etc/hosts --force
script:
- sh -c 'cd querydsl-root && mvn -B test -Pall,travis'