-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
65 lines (61 loc) · 1.74 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
# Copyright (c) 2019 Shapelets.io
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
language: r
sudo: required
matrix:
fast_finish: true
include:
- os: linux
dist: xenial
r: "3.5.0"
cache:
directories:
- ${TRAVIS_BUILD_DIR}/installers
- /usr/local/lib/R/site-library
- ${TRAVIS_BUILD_DIR}/cmake
- ${HOME}/.conan
after_success:
- mv ./cobertura.xml ./coverage.xml
- bash <(curl -s https://codecov.io/bash) -cF Linux -cf ./coverage.xml
- os: linux
dist: xenial
r: "3.4.3"
cache:
directories:
- ${TRAVIS_BUILD_DIR}/installers
- /usr/local/lib/R/site-library
- ${TRAVIS_BUILD_DIR}/cmake
- ${HOME}/.conan
- os: osx
osx_image: xcode9.3
r: "3.5.0"
cache:
directories:
- ${TRAVIS_BUILD_DIR}/installers
- ${HOME}/.pyenv
- ${HOME}/Library/Caches/Homebrew
- ${HOME}/.conan
- /usr/local/lib/R/site-library
after_success:
- mv ./cobertura.xml ./coverage.xml
- bash <(curl -s https://codecov.io/bash) -cF MacOS
- os: osx
osx_image: xcode9.3
r: "3.4.3"
cache:
directories:
- ${TRAVIS_BUILD_DIR}/installers
- ${HOME}/.pyenv
- ${HOME}/Library/Caches/Homebrew
- ${HOME}/.conan
- /usr/local/lib/R/site-library
before_install:
- source .CI/travis/install-arrayfire.sh
- source .CI/travis/install-khiva.sh
install:
- source .CI/travis/install.sh
script:
- source .CI/travis/build_and_test.sh