Skip to content

Commit 59acc9f

Browse files
committed
[feature] add travis
1 parent 47c9271 commit 59acc9f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
dist: focal
3+
language: python
4+
script: python3 -m unittest
5+
6+
after_success:
7+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
8+
- chmod +x send.sh
9+
- ./send.sh success $WEBHOOK_URL
10+
after_failure:
11+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
12+
- chmod +x send.sh
13+
- ./send.sh failure $WEBHOOK_URL

0 commit comments

Comments
 (0)