-
Notifications
You must be signed in to change notification settings - Fork 48
/
.travis.yml
31 lines (22 loc) · 849 Bytes
/
.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
dist: bionic
language: python
sudo: required
script:
- sudo make install
- sudo systemctl enable --now nohang.service
- sudo systemctl stop nohang.service
- sudo systemctl enable --now nohang-desktop.service
- sudo systemctl stop nohang-desktop.service
- oom-sort -h
- oom-sort
- nohang -h
- nohang -v
- nohang --check --config /usr/local/etc/nohang/nohang.conf
- nohang --check --config /usr/local/etc/nohang/nohang-desktop.conf
- nohang --check --config conf/nohang/test.conf
- sudo nohang --config /usr/local/etc/nohang/nohang.conf --tasks
- sudo nohang --config /usr/local/etc/nohang/nohang-desktop.conf --tasks
- /bin/sleep 60 &
- sudo bash -c "nohang --monitor --config conf/nohang/test.conf & tail /dev/zero & sleep 30 && pkill python3"
- sudo cat /var/log/nohang/nohang.log
- sudo make uninstall