diff --git a/.travis.yml b/.travis.yml index 8d35c59..641602a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,13 @@ jdk: - openjdk7 - oraclejdk8 +env: + global: + - GIT_NAME="Iván López" + - GIT_EMAIL="lopez.ivan@gmail.com" + - secure: qdvGtJFbtvTJPZ9HbBC4DtPGLAeWQq5A1gX7u4xxfPBNw/Mkd7Z0/OrWiMuNMccDvqhiPAbauZRb3ZSE/KOWhqSKg6EAMeQpBgGUOrjXNBH6x0m2BthFkQhEVWrDVqGx+AuEbm7kRsNw6ec+kJ6oaBPjnHOfbPnGVro+4sGWSck= + - secure: ZYo6fjlQNV1Oyc+fcINeISvR3pUAQG/V9I28v0xs2hjDiAug4gPnaQgxhmpa1SfRo5vwk+Oi+eNG22K2ePmUqARz2K5REahEPvocRZwrEow7pvJGvsLwiDcJk/o20fLPcUJlxgAyJeOQYR+exg35TlfHQ0ZWPVj07HO/A+1KTeM= + addons: postgresql: "9.4" @@ -13,9 +20,10 @@ before_script: - psql -c 'create database pg_extensions_test;' -U postgres - psql -c "create user pg_extensions with password 'pg_extensions';" -U postgres - psql -c "grant all privileges on database pg_extensions_test to pg_extensions;" -U postgres + - rm -rf target script: - - ./gradlew clean build + - ./travis-build.sh notifications: email: diff --git a/build.gradle b/build.gradle index 13db54e..ea83536 100644 --- a/build.gradle +++ b/build.gradle @@ -112,7 +112,7 @@ task wrapper(type: Wrapper) { bintray { pkg { - userOrg = 'kaleidos' // If you want to publish to an organization + userOrg = 'kaleidos' name = 'postgresql-extensions' issueTrackerUrl = 'https://github.com/kaleidosnet/grails-grails-postgresql-extensions/issues' vcsUrl = 'https://github.com/kaleidosnet/grails-grails-postgresql-extensions/issues' @@ -120,8 +120,8 @@ bintray { } grailsPublish { - user = 'kaleidos' - key = 'key' + user = System.getenv("BINTRAY_USER") ?: project.bintrayUser + key = System.getenv("BINTRAY_KEY") ?: project.bintrayKey userOrg = 'kaleidos' repo = 'plugins' @@ -133,5 +133,5 @@ grailsPublish { vcsUrl = 'https://github.com/kaleidos/grails-postgresql-extensions.git' title = 'PostgreSQL Extensions' desc = 'This is a grails plugin that provides hibernate user types to use Postgresql native types. It also provides new criterias to query this new native types.' - developers = [kaleidos: 'Kaleidos'] + developers = [ivan: 'Iván López'] }