forked from JonnyHaystack/i3-resurrect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 2.18 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
language: python
python:
- '3.6'
- 3.6-dev
- '3.7'
- 3.7-dev
dist: disco
services:
- xvfb
before_install:
- sudo /usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2020.02.03_all.deb keyring.deb SHA256:c5dd35231930e3c8d6a9d9539c846023fe1a08e4b073ef0d2833acd815d80d48
- sudo dpkg -i ./keyring.deb
- echo "deb https://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" | sudo tee -a /etc/apt/sources.list.d/sur5r-i3.list
- sudo apt update
- sudo apt install -y i3 i3status wmctrl xdotool
install:
- pip install -r requirements.txt
before_script:
- i3 &
- sleep 3
script:
- i3 -v
- pytest -vv --cov=i3_resurrect tests/
- tox
after_success:
- coveralls
notifications:
pushover:
api_key:
secure: UidUZv7HZ2BAXrKpNWXPGOQyQg7SREktVo14lNvbKMpKMavaQ+y0KMRRUb3K6JL7ylNSVGYXwro3kRa1HV0La5PDnDk2ancnGkZ91ti7BO/Vync5pZwzTWhRZr+vDhysW7ZFbW8H2gISytWinV68nnCn3Xra+wYLRLr0CqwsLmxmeykl4Fz/zSjV0R5rYojSp0KUnhyGAGht64Rym/IGQzD9FZk6mNHFjM9jU+K6gigWod7XmbOzaN8MLi03+33PWJBRwbyF7lf8hnDPkmVOkBd5aweRnr11gxkngTBlcZm8MgubqSLXhhclbws0Fgc4wt4NA6KE4gCBDFe3KKnOoLBaNYKVeHlCpQ/7fZq9Ed4/acrNHyGX/fgd+hfiPCae4w9IQvGXpYqvTxOHblSseyzJiIb0QbKIhPJK8VrNU/BhP/j1UwBbgIUlXV8IJ7uR2+x6+ZcR27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