-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
32 lines (27 loc) · 1.31 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
# Only build tagged releases on the master branch.
if:
- tag IS present
- branch = master
language: generic
cache:
directories:
- /Library/Caches/Homebrew
- $HOME/.cache/pip
matrix:
include:
- dist: bionic
- os: osx
install:
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then sudo chmod +x build/macos/build.sh && build/macos/build.sh ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then sudo chmod +x build/linux/build.sh && build/linux/build.sh ; fi
script: true
deploy:
provider: releases
api_key:
secure: NzRG8BAjBQCfzCB7DqyEI/KuH/NQGtRnlywgqf1cvaVwPG5itr0Uo9X7sAc2oeIqTpV/7CMQxzqdS+3ujRCyXx9rMQKIMEjEeZU9uLO4QX5AL2JXCac10HB0PXulREa1mMExr9kOGSLs35JQEYCpzdOyesyZGSHTYWjJpuk9/ryyzKSzzJgH99quzGlsguampXX2v8tTpjT49oURFKcF/ra3iWh1ueg+zKgHPaJq5ZNzMFrG2MaAQALAii0AqaXNhsLr3tfCzcHPxxTrCgBxBGk0vSCtGkLOjNCL4GOXTe4wEedeSCjzeJw0eYO7ojM7Zv8bS7whhSeXTgjlKXngcb54+xDpHb/iByesGZwy6M+4Zd+IejjRw5LN5OuBSf/dCSHZ/DYrqdoWFe6cKdWGiRU9VQzCdLFs5vCUZLBjmfaDi1KqKmruV12K9UBDiTXAzXAQG48J2Bv3xXpjrBvBiFXW8O+ddnrlNufsWTmJyV/sLFjnQhWh+FBsByz5es4Zv6whnxSIVLkFJYZZ07RNHKF3AQjphsHU8V/buhuph7FSFsPzejujQOM41QDTpigN1prSyqFEqv+jaM11bEsPujP2JhuWUruSZpDmb/IDrvNXZPT1r7ydtGXiP5qLCEDJy+9xUwrL+guoyCXYDyVxJTD87kzrmTx03aw5e6/o9/M=
file_glob: true
file: 'releases/PyMODA*'
on:
repo: luphysics/PyMODA
tags: true
skip_cleanup: 'true'