-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 840 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
32
33
34
35
36
37
sudo: false
language: python
python:
- "2.7"
- "3.4"
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- dnsutils # for dig command in /script/cibuild
- golang-go # for akamai cli packages
before_install:
- openssl aes-256-cbc -K $encrypted_47d2d923bf7d_key -iv $encrypted_47d2d923bf7d_iv -in edgerc.txt.enc -out .edgerc -d
before_script:
- chmod +x ./script/cibuild
script: ./script/cibuild
before_deploy:
- curl -L https://github.com/akamai/cli-purge/releases/download/1.0.0/akamai-purge-1.0.0-linuxamd64 -o akamai-purge
- chmod +x akamai-purge
- export PATH=$PATH:$PWD
deploy:
- provider: script
skip_cleanup: true
script: echo "Hello"
on:
branch: master
after_deploy:
- |
akamai-purge --edgerc .edgerc --section travis delete --cpcode 490267; sleep 5;