added tests to travis
[incubator-amaterasu.git] / .travis.yml
1 language: scala
2 cache:
3   directories:
4   - "$HOME/.m2"
5   - "$HOME/.gradle"
6   - "~/.gradle"
7 before_install:
8 - chmod +x gradlew
9 script:
10 - "./gradlew clean test buildDistribution"
11 deploy:
12   provider: releases
13   api_key:
14     secure: LgUGiVEjuFmAepc1XDIEPovYTh6zqn+/q/HXW0AZfwv4RoxROuoXFS8AgG6y1PY3QnbfoxCa2FsvVBwP3MupJyWlMKzZBWp9I1bFEbf4Zmn7Lb5hBJieWrgwvMN/R31YybiA9wBlhL32uN1JN3dvNQIIqwGjRzBS4Hm6db+RtnKiZFTn8p5eB5loyEu32QIlx9PWTLPSVZ/ZEqJlxFE7B5XBRCiy4+JQavFZ9fgg2DmuH5erqBGpv5W/Bn0ekKnj9NA4QaoksNnQSFx+MtL+mvJN/jACZpHF2ACjtMr01KoAUIKC2G8cnX2HVp/CBw2qG5UtTNnlh/ECpG/dtZfKaRmbZhoIxy9clf/PgiBQFdGHJKLrdN2Jpc8wG4aLDM2rRQ0k7oVp0AMWXAB1oZJ7MQcZeiwyAOo/HcU298iGuETRWMghlwEHy66iDzB+3xvxzROC2mVx0cvZE7095PkxJeddKBSpYXRQcdONkNj+b46IenpEj611UqvDilmCikhpIxqFxop24/eeTFOpmREf6JRo1dhMg0e8LwuxU5d4ZiwWx2xwlrZs2wKxrHygx/R8UD08FyntK4vaY6mTfEhcFkPuGb4kUnyrLv4fFq7oH96QXzhTtfftutxMTyLL+Y2+aJTbTeQPo6wpJo3Qn5vEsodzU9ytNV1+yvuqFfPgHtw=
15   file_glob: true
16   file: 'build/distributions/apache-amaterasu-*.tar'
17   skip_cleanup: true
18   on:
19     tags: true
20     repo: apache/incubator-amaterasu
21     all_branches: true
22     condition: $TRAVIS_BRANCH =~ ^version-.*
23 notifications:
24   email:
25   - dev@amaterasu.incubator.apache.org