forked from jdidion/atropos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 2.84 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
35
36
37
38
39
sudo: false
arch:
- ppc64le
- amd64
dist: xenial
language: python
cache:
directories:
- "$HOME/.cache/pip"
python:
- "3.4.5"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install --upgrade pip wheel
- pip install Cython
- make install
script:
- make test
after_success:
- pylint atropos
# push Docker images for full releases
- >
test -n "$TRAVIS_TAG" &&
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS &&
export REPO=jdidion/atropos &&
docker build -f Dockerfile -t $REPO:$TRAVIS_TAG . &&
docker tag $REPO:$TRAVIS_TAG $REPO:latest &&
docker tag $REPO:$TRAVIS_TAG $REPO:$COMMIT &&
docker tag $REPO:$TRAVIS_TAG $REPO:travis-$TRAVIS_BUILD_NUMBER &&
docker push $REPO
env:
global:
- secure: BQFHrr0r2qmehz3uVcKsEV3G4ollqYoSqyxF02W9OsApiAihry14Gi3yFKU8knZsqCzXPHlYShHahqiVTIU9QqGi8xlYSVJ8P0cV7xqapgO1HJhKd/quiRRpwGOHXf3yCbEJvGq/9PQ0bRkT3+4Khu8GHKLWrCfepT6LPpNYCzAQTEhsRCAO1MhOEM3x0Req82UMp5fndJfAnla+XcbhCsurZCaNoxmfm5i4Jv3tAUozWipL1vy2E65P/whyvz9U19CxaO+hvuFWTwHivMRtTVoF4fInvKWcf7XxgJ0tOFeDQBQWxTLS852kPq1W3uDbg084CwmlM89tt/zhCMNFSs6nOfO1TysN+FGFRvP7dW8bq7ht+Vzj+sFR62DaPJn48KU3X1TBqYm+/k9xMnPe+njNPioMp4aDKarSV8mVm1NGCQhJ6Feg7ebpKtcSeBCzUEUHUd3YM7xoV06OLNi4D+qClYYLPP91Z/c0/yGcT/rLo8cX+Pde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