lila/.travis.yml

58 lines
1.8 KiB
YAML
Raw Normal View History

sudo: false
2015-12-26 21:31:48 -07:00
language: scala
2015-12-27 09:00:45 -07:00
# https://docs.travis-ci.com/user/notifications/#IRC-notification
notifications:
irc:
2016-01-03 22:20:43 -07:00
channels:
2015-12-27 09:00:45 -07:00
- "chat.freenode.net#lichess"
on_success: change
on_failure: always
use_notice: true
skip_join: true
2016-01-27 21:00:30 -07:00
slack:
rooms:
- lichess:sVTqlE0OQNMPq1n6qRnVnfrz
2016-01-04 06:54:15 -07:00
on_success: change
on_failure: always
2016-01-31 02:56:10 -07:00
email: false
2015-12-27 09:00:45 -07:00
2015-12-26 21:31:48 -07:00
# https://docs.travis-ci.com/user/languages/java/#Testing-Against-Multiple-JDKs
jdk:
- oraclejdk8
env:
2017-04-06 11:00:11 -06:00
global:
- secure: "VkgJ78marLdG8JQrWV3UhcxXyWmdy6BV3gYLTyXpK2ltPA4vGkFilZDc8hMx2VhYeeTXyvXB+PM4xkB40PUnDlmNXIWQlG7IxKIb/zxwUVS+WcvAzM6yqEV9B/UbZO+Mgp2Hl4/F1lMoIpdQ0tkRvHmfw01L9VDrQs4Otdmd38o="
- TRAVIS_NODE_VERSION="4.0.0"
2015-12-26 21:31:48 -07:00
install:
# http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install "$TRAVIS_NODE_VERSION"
- npm install -g gulp
- git submodule update --init --recursive
- ./bin/build-deps.sh
script:
2017-04-06 11:23:47 -06:00
- ./ui/build
2015-12-26 21:31:48 -07:00
- sbt compile
- sbt test
2017-04-06 11:23:47 -06:00
after_success:
- sbt stage
2017-04-06 11:42:40 -06:00
- git log -n 1 --pretty=oneline > commit.txt
- tar -zcf "lila-${TRAVIS_BRANCH}.tar.gz" target/universal/stage public LICENSE COPYING.md README.md commit.txt
2017-04-06 11:23:47 -06:00
addons:
artifacts:
bucket: lichess.org
s3_region: eu-west-1
cache_control: public
paths: $(ls lila-*.tar.gz)
2017-04-06 11:23:47 -06:00
target_paths: lila
key:
secure: "lv+M2bXAjuKfl3ta8PDcljURpmnGjoNnf79dcryvZ6H3bT0FrW3rNKIxXqO4v/daZAuY3o+/nTOjg552ghFDmAqvygA9WF2pLuKd5Q877AtD54tkcr53oYLooBEaQ7nAkJnHl2NM8nii3mvksZ4+1ss7ww535u53sWu+a7PwQwI="
secret:
secure: "yoErYc4k/g00cP+P2jNZ3v4lAJnEuspE1j7DB9U42leWEGGgyqvKhNJLR5u/JLpxz2+UX6lmjlN0D3SLT4SVLpdacNvRdjRNVpazWpkOsxmKwiQRqjAQl/aoydW6JqUrFoIyH+HzSRdJdxLeXerEJdsTMXHRfHiBPaXWZzHnxY0="