-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (59 loc) · 1.47 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
language: d
script: ./.travis.sh
sudo: false
jobs:
include:
# =============================== Test Stage ===============================
- stage: test
d: ldc
os: linux
env: TEST_TARGET_ARCH=x86_64
after_success:
- bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN} -s .cov
- d: ldc-latest-ci
os: linux
env: TEST_TARGET_ARCH=x86_64
- d: dmd
os: linux
env: TEST_TARGET_ARCH=x86_64
- d: dmd-nightly
os: linux
env: TEST_TARGET_ARCH=x86_64
- d: ldc
os: linux
env: TEST_TARGET_ARCH=x86
addons:
apt:
packages:
- gcc-multilib
- d: dmd
os: linux
env: TEST_TARGET_ARCH=x86
addons:
apt:
packages:
- gcc-multilib
- d: ldc
os: osx
env: TEST_TARGET_ARCH=x86_64
- d: dmd
os: osx
env: TEST_TARGET_ARCH=x86_64
# ========================== Documentation Stage ==========================
#- stage: Documentation
# d: ldc
# os: linux
# script: echo "Deploying to GitHub pages ..." && dub run gendoc -y
# deploy:
# - provider: pages
# skip_cleanup: true
# local_dir: docs
# github_token: $GH_REPO_TOKEN
# on:
# tags: false
# branch: master
stages:
- name: test
if: type = pull_request or (type = push and branch = master)
#- name: Documentation
# if: type = push and branch = master