Magic-Spoiler/.travis.yml
tritoch 39a6ba1464 Travis debug (#122)
Kill background process hanging Travis-CI
2017-07-13 21:07:30 -05:00

47 lines
1.8 KiB
YAML

sudo: false # force container-based builds (no start-up time!)
dist: trusty # force 14.04 trusty build
language: python
cache: pip # enable cache for "$HOME/.cache/pip" directory
before_install:
- export CFLAGS=-O0 # considerably speed-up build time for pip packages (especially lxml), optimizations doesn't matter for ci
- pip install PyYAML
- python verify_files.py # make sure input files are OK before wasting time with prereqs
install:
- pip install -r requirements.txt
script: bash ./.travis/deploy.sh
after_script:
- sleep 10 # helps travis finish logging
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/691b9acffe1def5f9d6b
on_success: change # options: [always|never|change] default: always
on_failure: change # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
deploy:
provider: releases
api_key:
secure: Bin220gU9Re176T/1bIaX/rhGB+uEaw13aoB2/ir0ePHQB0ihasEJcsgmlN8kz93KSN6vp4y2HwMLnz3t7Pn0amTV8QVL/AlOOzjbq8m/1kYTbXdPlYnMsosZPVFLHRan4LEGFsovRia6LO4p9fqC8BDgQl89W/88PlYAMWzao5jTyKKHp8o+sioYhKj9D+86lxLYspQ+6SN0HOCnF2MZ/vZtxbY32ituswAc/sJK1MtZ/PExoMe1nSI2iKCaatXyKA+FVCUNLHRAu4LgB1GfJCLpmlPbvjud8A6WAKNF6poNCvFck+Ox56tt4bw3ggR5W9kTEhvX74l6AEeC7Qz6bHjh1CEngrqFjyaHy25CcygWgagf0DUsvyGRS0RqEx4bz9psD09d+oWihdkJMfa5kRzXtVQD8sxDgsBqEz/DjsMIlf/L5ISSa7lAYiqq65ELpezBFOlvEZ9avOYLcZc7m5/5ZhtcA4HPSqzfn2nhkPpeggBKufMdyc8JIDkvs/JlFsNu46QVvugjbdGvtb4SlQK310py0TOA6nYt7WntDhX3SukKAeh6oHjZaL5aeoSBhnlQRgJfDBqI3+7anLatD30uEKCMp5sWcLrjB1HO9ZH5nceWBg4cMKJvI/zT77h96fCy7uMkPNt867GP8O9KkWVWzxGBkpIdstigNWfT5g=
file_glob: true
file: out/*.xml
skip_cleanup: true
overwrite: true
on:
tags: true
branch: master
env:
global:
- ENCRYPTION_LABEL: ec68c19ba263
- COMMIT_AUTHOR_EMAIL: you@example.com