forked from acemod/ACEX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (30 loc) · 1.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
branches:
only:
- master
- release
language: python
python:
- '3.4'
before_script:
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
pip install pygithub;
pip install pygithub3;
fi
script:
- python3 tools/sqf_validator.py
- python3 tools/config_style_checker.py
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
python3 tools/deploy.py;
fi
env:
global:
- secure: "FwfRA1CpKkkclDTpM3vBJGVI/WSrkzkTxLhEtRQmsS4Yyg+r/VEh+OcvrYD7IrOxrWxFNE65Qvrom2OTtx2xRHHVSYQFtoV5M/lDtQkt3dXtavgn5nANex6pi8uUSAuHuKAt5sRw7FBiPCP48VT7LyFlc/9SErqvr0ioHmXM4YlqS/09rZAzbNGp88mgpaEdAUnJ9eJ1BKx3lR5ZvBaix0au0hCoLz4F3FArlVrecIN4Y+iA50m0dz9RzBIFM07nlzNIU1Ny7HCBHM3DYSY86N/JUo1WKBGfjeAdtN8WhWS1GF9U9vfsoidQu0dPLclOQVsBKN1ct5SRBC3t5IQF/DpGUxxxI2VKjw9ejxl2iQgtcZe51p4AcpWh2AgObXohHIXWlMKWb6kw+m8yJGxEdArg34PZorWqLDdDM+Yqi0M+hB6PwDJlVGLzVlDZolxH52b5g+LDG1oZMOLCf2k3HfVBN7xISwszGBznzvkMOr/NlnDDEaewfVbR+v71oeiQC9l3Ps1YVsJOhiX0zjDHk3z7gheUmgP55ecXVxQYQXXp1wUKg3c0Cd0jFb8MQq0pguYacY6ksq96jtCYHcOtkqQUP/WBP8iNozUw2Y0idCT2zN4nXolVks0i0S9z+2eYYKGSr6pbTUJmg+DfnAgzOqRX1qO5s0c69Ld6NYncyCU="
notifications:
slack:
rooms:
- secure: byZMNBl8PMlgjT9NA1WmhgCdGfX4b3g1kA0vEiwfm+IFNlx7BiM4J/5rp6zV/jV470xl/epAejx2tsa5SdTyFbO87NH63ILJSt5QnjUZjRuGKSutFs9WE671DtZkPRSJXHS4N6x802PRkyBz/84/lsc34FWvHvjwOuYAtOcJRFk=
- secure: V22TNaLWV+yUNWqR7c6HVvIxkRDz7Dyz9xqa43FY8iFgvNL4Q/X69h5DYHU/ILNFM00tx8OBjtPRbcjWQ+F6eY8Sje/A2axJAU+qNurAvoyiTahXUprdUUpPdkgXWuSRTZ9kALxOq5e11RC8XUietghoMcl8zPcqdrZCOOKgoEM=
on_success: change
email:
on_success: never
on_failure: change