2018-05-14 23:12:45 +00:00
|
|
|
language: rust
|
2018-09-10 02:27:44 +00:00
|
|
|
sudo: required
|
2018-09-10 04:48:45 +00:00
|
|
|
dist: trusty
|
2018-09-10 02:27:44 +00:00
|
|
|
|
2018-05-14 23:12:45 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2018-09-10 04:44:36 +00:00
|
|
|
include:
|
|
|
|
- os: linux
|
2018-09-10 04:49:23 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- nightly
|
2018-09-10 04:44:36 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test', 'sourceline': 'deb http://ppa.launchpad.net/keithw/glfw3/ubuntu trusty main']
|
|
|
|
packages: ['cmake', 'libgles2-mesa-dev', 'libglew-dev', 'libglfw3-dev', 'libglm-dev', 'libgtk-3-dev']
|
2018-09-10 02:27:44 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2018-05-14 23:19:55 +00:00
|
|
|
|
2018-05-14 23:12:45 +00:00
|
|
|
script:
|
2018-09-10 02:27:44 +00:00
|
|
|
- if [ -z "$TRAVIS_TAG" ]; then cargo test --all; fi
|
2018-05-14 23:12:45 +00:00
|
|
|
|
|
|
|
before_deploy:
|
2018-09-10 02:27:44 +00:00
|
|
|
- ./ci/build-release.sh dip ${TRAVIS_TAG}-${TRAVIS_OS_NAME}
|
2018-05-14 23:12:45 +00:00
|
|
|
|
|
|
|
deploy:
|
2018-09-10 02:27:44 +00:00
|
|
|
- provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: ZCA3+LjTzliSC3m9DjcEYZOsRhaI5r9LAHfuw5HuaLYbprbEVwqLCTV1ioe7F9dLPembqGoGEsVnWAsrAUP0C9BRUuOrZMYvTOS3qTwSX7pPc/fsNUzP9uc6XPIMQ7/QeakmpgVYvObt9/1Wxui715nPmj9h+YIB4P3BUT8VsufzG0LogNSTwkhicM19O9oFhoCg39qQBueBe2SrS35dqvofSoJlEk2wSBBesQ9xuw9goP8ZkTKD3w/ZmPUS9RuWi1FSzsUcnLGCEMwYxLk9CBnG9I0G8kvDF194UYq7YnlaK4sn4AG5UxkMYcWN573vb+KX56VoHa57Z7qNIoUy1Kk0MatIjPIxd2LQJSTl7I5sckfoq61wihRYYj8R1qI4V4mqBX+MHFwyfs7/XT2pVfPHeflvJ4MMZW5t+OYWv8LfwFgufbLyYS79ZkBIjVnk2ligSv8kSPcuTtnSzp6UJlHsEbRDlWcciAYA92d2bggz7BrSG+X1eDAVto+bGdAeAp5zgRPVKwbpA9aD52y2GmlMh4Z+GcjhF6U7z+2AYRalH9X8d4mSdQ7KuhFfigoR/84tO+kC5QeKnf3FfgXPzOimt8xCsd2MFDrg2sPvgFkQGyM0ihB9NnNBfiFrQrRP3+DyTCI3TqOfkz8QKe4h7DxefR1t+YvheNZjGtC8C+E=
|
|
|
|
file_glob: true
|
|
|
|
file:
|
|
|
|
- screenshot-*
|
|
|
|
on:
|
|
|
|
condition: $TRAVIS_RUST_VERSION = stable
|
|
|
|
tags: true
|
|
|
|
skip_cleanup: true
|
2018-05-14 23:25:02 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|