leanshot/.travis.yml

50 lines
1.5 KiB
YAML
Raw Normal View History

2018-05-14 23:12:45 +00:00
language: rust
rust:
- stable
- nightly
os:
- linux
matrix:
fast_finish: true
2018-05-14 23:19:55 +00:00
sudo: true
addons:
apt:
2018-05-14 23:29:54 +00:00
update: true
2018-05-14 23:19:55 +00:00
packages:
- cmake
2018-05-14 23:27:33 +00:00
- libgles2-mesa-dev
2018-05-14 23:25:02 +00:00
- libglew-dev
2018-05-14 23:27:33 +00:00
- libglfw3-dev
2018-05-14 23:22:30 +00:00
- libglm-dev
2018-05-14 23:19:55 +00:00
- libgtk-3-dev
before_script:
- git clone https://github.com/naelstrof/slop.git
- cd slop
- cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
- make && sudo make install
2018-05-14 23:12:45 +00:00
script:
- cargo build --all
- cargo test --all
before_deploy:
- cargo build --release --all
- mkdir -p release
- cp target/release/screenshot release
- cp LICENSE release
- tar czvf monto-rs-$(TARGET)-$(TRAVIS_TAG).tar.gz release
deploy:
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: screenshot-$(TARGET)-$(TRAVIS_TAG).tar.gz
on:
tags: true
repo: iptq/screenshot
skip_cleanup: true
2018-05-14 23:25:02 +00:00
notifications:
email: false