forked from ariovistus/pyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (61 loc) · 1.69 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: minimal
sudo: required
services:
- docker
env:
- DC=dmd
PYTHON=python
DUBCFG=python37
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:stretch-dmd2_080-py37
- DC=ldc
PYTHON=python3
DUBCFG=python35
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:ubuntu1604-ldc190-py35
- DC=ldc
PYTHON=python
DUBCFG=python27
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:ubuntu1604-ldc190-py35
- DC=ldc
PYTHON=python3
DUBCFG=python36
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:fedora28-ldc180-py36
- DC=ldc
PYTHON=python
DUBCFG=python27
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:fedora28-ldc180-py36
- DC=gdc
PYTHON=python
DUBCFG=python37
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:stretch-gdc63-py37
matrix:
allow_failures:
- env: DC=gdc
PYTHON=python
DUBCFG=python37
RUNSPEC=runtests
DOCKER=ariovistus/pyd-test-env:stretch-gdc63-py37
script:
- docker run -v$(pwd)/:/src -e "COMPILER=$DC" -e "RUNSPEC=$RUNSPEC" -e "PYTHON=$PYTHON" -e "DUBCONFIG=$DUBCFG" -t $DOCKER bash runtests.sh
jobs:
include:
- stage: deploy
install: echo "yay not installing to system"
script: echo "yay not running tests"
os: linux
language: python
if: tag IS present
before_deploy: python versionchecker.py
deploy:
provider: pypi
skip_cleanup: true
user: ariovistus
password:
secure: "fBaxJv4pJOA2gq6VYlBUXKrGJmKN8TdNU1erFvH5ohvcSIpF4a95ElPpu7dBruMuorGYDXvHlfGhEFpaxxkpBWTknJwUp15HUvx1qMJnyfi9qxcID3ieRQ2lbrktiIkNwfjBKPP+nu4/uLg4P7ZgDdY1rGTGCBPOgc9FqVB1ny4="
on:
tags: true