-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (30 loc) · 2.03 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
# The language in this case has no bearing - we are going to be making use of conda.
language: objective-c
sudo: false
env:
global:
# Add the BINSTAR_TOKEN environment variable. This has been generated with "" then "travis encrypt BINSTAR_TOKEN=<token_id>"
secure: "HuLVvDcg8VMwdN0coW1AjEorPIXeCqvd5pK+6hpJbp5zNcfzDhOz5eJ/0ufCIYXBx2pFOp6cOYAz5/vJy5Du2I1EwaE4yFyuViIpIs672Z+cNL1rHYNphv8lFjBUYgH07/5LoMHBPNQbuMrV+kCA8PuQfog0TX9ax47/cxDkfzkqaWIKMEqSEGs89lCL9zVoZC2Ue8/hxRPyHUuoXPpc36sfl0cfl9HQ+YMNllXrf049ifI6c2fnX39GA+sii3r4N2tqgXXeyUhI/U39NjMYoiphJ2lwevFvnQ6jLBHJBC08aSjLh+clCh+C51HiqEOO2P6hpL1nzNitdfNNiyPm12LdzWDVd3gmns7Spu1LoiFGUK7LWhL2umAMepSUB1UCejMlPoVPHg5y/nDONDrsoqKpsbBGtoQDozXJcAQfT/6DFPYpIOlkByXPtsvGTdHWvcA8cqkU61mhR+koibIvhQsfkbCZelF3iBgcdY+SaAC0a172GHaLKlcTD4qHS4lv2W1U7f0IHMu7uS/zPDtgc+zkhoyezME2CmaliLsKm8fi+0yCz+t9oHggFDGUp1qGp56w153DmfeW6rtyXRLcwv4eQO/nF0sGNAINx9hd8S4BGVPWKpBJO8clBy7ptNOilx58XKLKsWSr03MyBAH2Rq9KQYrEiiXIEaGUthBlze8="
addons:
apt:
packages:
# Install makeinfo [sic] - needed for constructing configuration
# files via autoreconf (in particular for udunits)
- texinfo
# Unit testing framework for C (used by libmo_unpack)
- check
before_install:
- brew update && brew install check
install:
# Set the numpy variable. This isn't used, but conda-build complains if we haven't set it already.
- export CONDA_NPY=19
- wget https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py
- python bootstrap-obvious-ci-and-miniconda.py ~/miniconda x64 2 --without-obvci && source ~/miniconda/bin/activate root
- conda config --set show_channel_urls True
- conda config --set always_yes True
- conda config --add channels scikit-beam
- conda config --add channels conda-forge
- conda install conda-build-all
- pip install https://github.com/conda/conda-build/zipball/master#egg=conda-build
script:
- conda-build-all recipes --upload-channels scikit-beam --inspect-channels scikit-beam --matrix-conditions "numpy >=1.8" "python >=2.7,<3|>=3.4"