2017-02-07 03:14:03 +00:00
|
|
|
sudo: required
|
2015-05-09 12:12:54 +00:00
|
|
|
branches:
|
|
|
|
only:
|
2015-12-14 13:08:50 +00:00
|
|
|
- master
|
|
|
|
- release
|
2015-05-08 17:28:06 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2015-10-11 13:01:02 +00:00
|
|
|
- '3.4'
|
2017-02-07 03:14:03 +00:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:koffeinflummi/armake -y
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install armake -y
|
2015-05-08 17:28:06 +00:00
|
|
|
before_script:
|
2015-10-11 13:26:06 +00:00
|
|
|
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
|
|
|
pip install pygithub;
|
|
|
|
pip install pygithub3;
|
|
|
|
fi
|
2015-05-08 17:28:06 +00:00
|
|
|
script:
|
2017-02-07 03:14:03 +00:00
|
|
|
- make
|
2015-10-11 13:01:02 +00:00
|
|
|
- python3 tools/sqf_validator.py
|
2016-04-07 17:51:12 +00:00
|
|
|
- python3 tools/config_style_checker.py
|
2015-10-11 13:26:06 +00:00
|
|
|
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
|
|
|
python3 tools/deploy.py;
|
|
|
|
fi
|
2015-05-08 17:28:06 +00:00
|
|
|
env:
|
|
|
|
global:
|
2016-08-19 14:12:09 +00:00
|
|
|
- secure: cdxkn5cAx+s1C9Ne5m+odEhde1uuSg6XGMDgepN4DwSAJwtMnUv3ZmDebd5YJC1raZJdep+n09Cj0GoTNICQRkco50DxHKHYNad41wetY0tn0cs9gmPYzyFE5q4vuWiQ47dlGhQQ7IJDyX0nU++gG5E50/PhlZfebdedGSprN/4=
|
2015-10-11 13:01:02 +00:00
|
|
|
notifications:
|
|
|
|
slack:
|
2015-12-14 13:08:50 +00:00
|
|
|
rooms:
|
|
|
|
- secure: byZMNBl8PMlgjT9NA1WmhgCdGfX4b3g1kA0vEiwfm+IFNlx7BiM4J/5rp6zV/jV470xl/epAejx2tsa5SdTyFbO87NH63ILJSt5QnjUZjRuGKSutFs9WE671DtZkPRSJXHS4N6x802PRkyBz/84/lsc34FWvHvjwOuYAtOcJRFk=
|
|
|
|
- secure: V22TNaLWV+yUNWqR7c6HVvIxkRDz7Dyz9xqa43FY8iFgvNL4Q/X69h5DYHU/ILNFM00tx8OBjtPRbcjWQ+F6eY8Sje/A2axJAU+qNurAvoyiTahXUprdUUpPdkgXWuSRTZ9kALxOq5e11RC8XUietghoMcl8zPcqdrZCOOKgoEM=
|
|
|
|
on_success: change
|
2015-10-11 13:01:02 +00:00
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: change
|