-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
111 lines (111 loc) · 3.89 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
language: cpp
dist: bionic
cache:
directories:
- "${HOME}/.conan"
- "${TRAVIS_BUILD_DIR}/arrayfire"
matrix:
include:
- os: linux
dist: bionic
compiler:
- gcc
git:
submodules: false
before_install:
- git submodule update --init
- source .CI/travis/install_linux.sh
- source .CI/travis/install-arrayfire_linux.sh
script:
- source .CI/travis/build_linux.sh
- os: linux
dist: bionic
compiler:
- clang
git:
submodules: false
before_install:
- git submodule update --init
- source .CI/travis/install_linux.sh
- source .CI/travis/install-arrayfire_linux.sh
script:
- source .CI/travis/build_linux.sh
before_deploy:
- cpack
- cpack -G DEB
- cpack -G RPM
deploy:
name: "${TRAVIS_TAG} - Linux"
body: "${TRAVIS_TAG}"
skip_cleanup: true
provider: releases
api_key:
secure: "aJmfhcML6BcvuKEPSGAEiEY+b6uhbaGaM/uUn0Xth+huXpQmjNExzR3/kPTFvfLH8irla6v91QVKrSRVPkCdtYOx8DO+H+YGH85dG52FpXA6NbhOYzO/pbH9ScD9SL3pr90r9FfdxyoIh5tLNPujoDtk3A2zUnw0jQYjFSx6aeCTTwYBBVnzGlvjZ9ybkYFlOX5BUQUmdMhB3UsJy/5Q1rpcigSlV8yCm6Sl7ucek8DP+iOtks8Xw51dMkRpgJpIkBq0JOypfCSyKiYgYHMXN8bIU5aeKGBmED9DCac+VhZkbROYbWwCXyadwvr6tuBVwFmgExKLhJnvQXOmnodaesZkyg0cCHQjLgSsouATo9vDAg3gpJUdITDUETE8GTan3/6xW5pFfStb2hyFd6Q9ZopAYuz24vHmdKCNWSMp2AwFALWVXt1xGwJ28XUdgVFGObdkSOtXa4PbnqGZvLNPFLJcibUXq2ei+C51TN7bv8KQIfgDJltZe99eUdjiZJX2rTDv1lX07bFMXiHI4ipDPhFOzyZvYVAiMJbudQUurpzwY+6KG+Gagt142k8aATg4e40RaYFPVakx2TtxFApVyGDIgrkzZ3s1X2IsC3Dklb9f5Iqx5gf59hKFG3vAsUxLw2u+rthWAu7jnsAbQZSsIAicLlMec1fAW9xA2rkt2ZY="
file_glob: true
file:
- "${TRAVIS_BUILD_DIR}/build/khiva-*.deb"
- "${TRAVIS_BUILD_DIR}/build/khiva-*.rpm"
- "${TRAVIS_BUILD_DIR}/build/khiva-*.sh"
draft: true
prerelease: false
on:
tags: true
- os: osx
osx_image: xcode9.3
compiler:
- gcc
env:
- TRAVIS_PYTHON_VERSION=3.6.5
cache:
directories:
- "${HOME}/.conan"
- "${TRAVIS_BUILD_DIR}/arrayfire"
- "$HOME/.pyenv"
- "$HOME/Library/Caches/Homebrew"
git:
submodules: false
before_install:
- git submodule update --init
- source .CI/travis/install_osx.sh
- source .CI/travis/install-arrayfire_osx.sh
script:
- source .CI/travis/build_osx.sh
- os: osx
osx_image: xcode9.3
compiler:
- clang
env:
- TRAVIS_PYTHON_VERSION=3.6.5
cache:
directories:
- "${HOME}/.conan"
- "${TRAVIS_BUILD_DIR}/arrayfire"
- "$HOME/.pyenv"
- "$HOME/Library/Caches/Homebrew"
git:
submodules: false
before_install:
- git submodule update --init
- source .CI/travis/install_osx.sh
- source .CI/travis/install-arrayfire_osx.sh
script:
- source .CI/travis/build_osx.sh
after_success:
- cd ${TRAVIS_BUILD_DIR}
- source .CI/travis/codecov.sh
- cd ${TRAVIS_BUILD_DIR}
before_deploy:
- cd build
- cpack -G productbuild
deploy:
name: "${TRAVIS_TAG} - MacOS"
body: "${TRAVIS_TAG}"
skip_cleanup: true
provider: releases
api_key:
secure: "aJmfhcML6BcvuKEPSGAEiEY+b6uhbaGaM/uUn0Xth+huXpQmjNExzR3/kPTFvfLH8irla6v91QVKrSRVPkCdtYOx8DO+H+YGH85dG52FpXA6NbhOYzO/pbH9ScD9SL3pr90r9FfdxyoIh5tLNPujoDtk3A2zUnw0jQYjFSx6aeCTTwYBBVnzGlvjZ9ybkYFlOX5BUQUmdMhB3UsJy/5Q1rpcigSlV8yCm6Sl7ucek8DP+iOtks8Xw51dMkRpgJpIkBq0JOypfCSyKiYgYHMXN8bIU5aeKGBmED9DCac+VhZkbROYbWwCXyadwvr6tuBVwFmgExKLhJnvQXOmnodaesZkyg0cCHQjLgSsouATo9vDAg3gpJUdITDUETE8GTan3/6xW5pFfStb2hyFd6Q9ZopAYuz24vHmdKCNWSMp2AwFALWVXt1xGwJ28XUdgVFGObdkSOtXa4PbnqGZvLNPFLJcibUXq2ei+C51TN7bv8KQIfgDJltZe99eUdjiZJX2rTDv1lX07bFMXiHI4ipDPhFOzyZvYVAiMJbudQUurpzwY+6KG+Gagt142k8aATg4e40RaYFPVakx2TtxFApVyGDIgrkzZ3s1X2IsC3Dklb9f5Iqx5gf59hKFG3vAsUxLw2u+rthWAu7jnsAbQZSsIAicLlMec1fAW9xA2rkt2ZY="
file: "${TRAVIS_BUILD_DIR}/build/khiva-${TRAVIS_TAG}.pkg"
draft: true
prerelease: false
on:
tags: true