-
Notifications
You must be signed in to change notification settings - Fork 42
/
.travis.yml
60 lines (59 loc) · 1.38 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
language: cpp
addons:
homebrew:
packages:
- gfortran
matrix:
include:
- env: PLATFORM='linux64'
os: linux
dist: xenial
sudo: required
compiler: gcc
- env: PLATFORM='windows32'
os: linux
dist: xenial
sudo: required
compiler: gcc
- env:
- PLATFORM='macos'
- FC='/usr/local/bin/gfortran'
os: osx
osx_image: xcode11.3
addons:
homebrew:
update: true
packages:
- gcc
compiler: clang
- env: PLATFORM='musl64'
os: linux
dist: xenial
sudo: required
compiler: gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then free -m; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then vm_stat; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which gfortran; ls /usr/local/bin; fi
- df -h
- ulimit -a
- TARGET="${PLATFORM::${#PLATFORM}-2}"
- "./build/${TARGET}/requirements.sh"
install:
- source ./build/${TARGET}/build.sh
script:
- echo "Nothing."
before_deploy:
- mkdir -p dist
- "./build/${TARGET}/package.sh"
deploy:
provider: releases
api_key:
secure: ILnaYSSn9uaRUq8g0UOoAwdltVx9Qy/B7DPlt4ANMV3f4oxW9I7IotPnGcUpi7SzCAR9FlH9Drpct7awBWCXHRd9bp8nfhRnqnjwymhuyO08xkMYcdu3+TE5SjtKWnicakJZqwgAeUl0YSsEOl0M0A5LShKaFTn55tNQ/PPZe28=
file:
- "$(ls dist/*tar.gz dist/*.zip)"
skip_cleanup: true
on:
repo: zhanxw/rvtests
branch: master
tags: true