Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 567ff24

Browse files
committed
Add release notification
1 parent df407c3 commit 567ff24

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.release_notify.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
PAYLOAD="{\"text\": \"<https://pypi.python.org/pypi/ethereum|ethereum $TRAVIS_TAG> was released on pypi!\"}"
3+
curl -s -X POST --data-urlencode "payload=$PAYLOAD" $SLACK_WEBHOOK_URL

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ python: 2.7
33
sudo: required
44
dist: trusty
55
before_install:
6-
- sudo add-apt-repository -y ppa:ethereum/ethereum
7-
- sudo apt-get update
8-
- sudo apt-get install -y solc
9-
6+
- sudo add-apt-repository -y ppa:ethereum/ethereum
7+
- sudo apt-get update
8+
- sudo apt-get install -y solc
109
env:
11-
- TOX_ENV=py27
10+
matrix:
11+
- TOX_ENV=py27
12+
global:
13+
secure: cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
1214
install:
1315
- pip install -Ur requirements.txt
1416
- pip install -Ur dev_requirements.txt
@@ -30,3 +32,5 @@ deploy:
3032
tags: true
3133
repo: ethereum/pyethereum
3234
branch: develop
35+
after_deploy:
36+
- ./.release_notify.sh

0 commit comments

Comments
 (0)