forked from foreverguest/gmusicapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 2.72 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: python
python:
- '2.7'
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libav-tools libavcodec-extra-53
install:
- python setup.py sdist --formats=zip -k
- find ./dist -iname "*.zip" -print0 | xargs -0 pip install
- wget https://gist.github.com/simon-weber/8211306/raw/travis-secure-redefine.py
- pip install flake8==2.4.0
before_script:
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then export GROUP='--group=local'; fi
script:
- flake8 example.py setup.py gmusicapi
- python travis-secure-redefine.py "python -m gmusicapi.test.run_tests $GROUP" IDARG GM_U GM_P GM_O GM_I GM_A
after_failure: cat `python -c 'from gmusicapi.utils import utils; print utils.log_filepath'`
branches:
only:
- develop
- master
env:
global:
- GM_N="Travis-CI (gmusicapi)"
- GM_AA_D_ID="30da8b7f1d8cab94"
# AA: u, p, o, i, a
# append 1 to vars
- secure: end65RuZTJF3GMk/MK5u9V0/9zMAOuHfSZW5Bu5kOchhJdNFYgx44vs3qXJovkDy4EooIT45Pjt9uPBbqcgINvvJmm60T4ICpoBaC/gvG23vynCATxQ4qp2lOni7YiVGQvXp/uSuYRocLxxE/hToqmANrNSsAa1ksc7jmHkZC80=
- secure: "cm6YZI0oqbhBN7o2UVMmtobeDgIkpdimbDl+riPh+6ZUWiWbzVZxZ00CuSkTMhY11OUpE02fDuU2jTUaWtUnRaU3P8J1vBObHo1VtNEwRXkXUGCxD6NhDtxM85Y9b9bfvBJMPJOAQKjTMoiragGquYD3+/6Y3CCHUncJSXZyozI="
- secure: "AI726k373fAUBgZPRWrZ1BzpFnGhJDJcmopwb9I5R8Jl1Mt2zYHEuVXk7b00oCoa8Q8smMoG8OvTQZEEO/1pna0M61vvx5MIR257Zct5+9fREh8kv8HYFScrndNTDuvRtijMJtOKhfeI9XiQnzuHavgveXBMHtQvxZTnVm77RlE="
- secure: cQ/KaEOW73kmT5NwvQnT+H3w0yMtxhJWvBCnGahzmYMUlr7UjW5XkF4FpYiLX0MfKYbPLIIxGe7knwNznbFEGPjwwYhsQjhgikY+ufvF5l3VN2zvC04QjD3SWTz3oYGdhQSHakbMwRT+UFkQPXswZ+dxp3DsqD253eVNmybgn9c=
- secure: QYItohH4sbVkSFKBpKUQl+a4ONMJjNHg/YIyDpLkVh68qBuJ2ZiT1ufjD9drt4a2K/hyD2wmnwvovcM6kXJiFdLsEIthJG8gW7GUyIzXQZMH85dfl8BUBqY/JPUNiRibX8JYxxkz3e6QKq6uQ0NIc1Df6P10IJib3ZdXw94ybSg=
# non-AA: u, p, o, i
# append 2 to vars
- secure: UxA3zMQStTnCqX+Jq0isjpDBHjTWs5r2wVPtDve5OEqVqW3hHwjHVz/Y37YDhZrHP8sVIsQloT2THDiGj8nN8irGzVeuyPbjgUCXylNqXRZ+dlF1G3P/73Qxe3wSCEy+mvqXb9oVvQorK83ZxgZeYPFo0f0UTvs900z3CExbQMY=
- secure: "ZZ3h1j3KKsEnNZQgHyIUxgbRVTbpoOLjzsDdFVbAriOgbyDCX+AgGzvNTn9ft4/Do8c2uvzZ1E1O0Ao9kh0GPnHYRnfdTe9WMx/1bN+rvtj92O2WcSyQ1Dmvy2sshcXqkIhWsqnrJBvzCTB1cncMVifD9CY8JwFGHagYzL2dvEc="
- secure: "VaigSzZugnvqfLWJt9AeaNHWXa/faAs9MKLSMbmfZJq5tohtTaaKv77JveTUpDsZNubjnq410hV4ZMwUgiFjrlqPZJxX5BzMNvFTIwA+0RPgtQUfNoRHAHrK3itAqjHeZ59f0gpFgpR7kVzvg4dJF7zWoFvSAscffDAS2QVyLKo="
- secure: GVFTMs8TGOunR+eNR7VCQNkKVDWtCZ6siyB2KfgPPzeRKduUFhJA5VhhV+Vl+uhmL3767nM8Tv+ypX7C6mg2qZNcm9EJkAZzXg4f5qQJjTfxXC6lJfBn3i0S1Q9qBhwyQ1Jx+mHfth3TTXEq8sBgTuZcu+G0V8Lb4zzr83bLxto=
matrix:
- IDARG=1
- IDARG=2
notifications:
irc:
channels:
- "chat.freenode.net#gmusicapi"
on_success: change
on_failure: change
skip_join: true