Skip to content

Commit 6019229

Browse files
authored
Merge pull request #718 from tpaviot/review/prepare-r740beta
Review/prepare r740beta
2 parents 10f3657 + 5e73d12 commit 6019229

File tree

1,332 files changed

+344919
-610180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,332 files changed

+344919
-610180
lines changed

.travis.yml

+53-55
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
sudo: false
1+
os: linux
2+
dist: bionic
23

34
language: cpp
45

5-
cache:
6-
apt: true
7-
86
git:
97
depth: false
108

@@ -27,75 +25,75 @@ git:
2725
# after that, copy/paste the secure on the following line
2826
env:
2927
global:
30-
- secure: "Mu6SQsBmz2inttfIj3pXk4lx6ZXNs7MAq1agDgnGJknQTTi4ta0H+usxKhhGvxkh4eGgX01HuXAbPejU0W9xatHvYDQ3piKvqv672TrhYShHA4bWJke3q88BezSYaDQ+UBTmP5DD/ZFbprH+6bP9WqpRaYGC6UHbFkjRKEd2bk4="
31-
32-
addons:
33-
apt:
34-
packages:
35-
- mesa-common-dev
36-
- libgl1-mesa-dev
37-
- libglu1-mesa-dev
28+
- secure: "Bqor4TrYqeJUkjiIHjCq/e3xt/jAoU3Q5kwG/ej+QxaiT6hmkirX3Io3rHxNTbS+mYMAMTbtkkpGqYIYIYtNVx8jGYLdwOzNcuW/wzZf9VuAW/rnjx2lzuYRhHk3GOylSPUU06JHvXDmZvdMxetNBeWaE5hGuJsC9liA+stDepA="
3829

39-
matrix:
30+
jobs:
4031
include:
32+
# Linux
4133
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64"
42-
os: linux
43-
dist: bionic
44-
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64"
45-
os: osx
46-
osx_image: xcode9.4
47-
- env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64"
48-
os: linux
49-
dist: bionic
5034
- env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64"
51-
os: osx
52-
osx_image: xcode9.4
53-
- env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64"
54-
os: linux
55-
dist: bionic
5635
- env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64"
36+
# OSX
37+
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9
38+
os: osx
39+
osx_image: xcode9.4
40+
- env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9
41+
os: osx
42+
osx_image: xcode9.4
43+
- env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9
5744
os: osx
58-
osx_image: xcode9.4
45+
osx_image: xcode9.4
46+
# Windows
47+
# - env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
48+
# os: windows
49+
# - env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
50+
# os: windows
51+
# - env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
52+
# os: windows
53+
5954
# Use miniconda to install binary versions of numpy etc. from continuum
6055
# analytic's repository. Follows an approach described by Dan Blanchard:
6156
# https://gist.github.com/dan-blanchard/7045057
6257
before_install:
63-
- if [ ${PYTHON:0:1} == "2" ]; then
64-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
65-
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
66-
else
67-
wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh;
68-
fi;
69-
else
70-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
58+
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then
59+
MINICONDA_PATH=$HOME/miniconda;
60+
MINICONDA_SUB_PATH=$MINICONDA_PATH/bin;
61+
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
62+
MINICONDA_PATH=/c/tools/miniconda3;
63+
MINICONDA_SUB_PATH=$MINICONDA_PATH/Scripts;
64+
fi
65+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
7166
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
72-
else
67+
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
7368
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
74-
fi;
69+
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz -O MacOSX10.9.sdk.tar.xz;
70+
tar xf MacOSX10.9.sdk.tar.xz;
71+
sudo mv MacOSX10.9.sdk /opt/;
72+
ls /opt;
73+
fi
74+
75+
install:
76+
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then
77+
chmod +x miniconda.sh;
78+
yes | ./miniconda.sh -b -p $MINICONDA_PATH;
79+
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
80+
echo "installing miniconda for windows";
81+
choco install openssl.light;
82+
choco install miniconda3;
7583
fi;
76-
- chmod +x miniconda.sh
77-
# When we are installing the 32 Bit conda on a 64 Bit system, the miniconda
78-
# installer will ask for a "yes" despite the -b flag, so we pipe in a yes
79-
- yes | ./miniconda.sh -b -p $HOME/miniconda
80-
#- bash miniconda.sh -b -p -f $HOME/miniconda
81-
- export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH"
84+
- export PATH="$MINICONDA_PATH:$MINICONDA_SUB_PATH:$PATH";
8285
- export PYTHONUNBUFFERED=1
8386
- hash -r
84-
- conda config --set always_yes yes --set changeps1 no
87+
- conda config --set always_yes yes --set changeps1 no --set ssl_verify false
8588
- conda update -q conda
8689
# install everything required to build the receipe
87-
# conda-build 3.2.0 on osx to prevent using check_overlinking
88-
# method which is quite loooong to process
89-
#- conda install conda-build==3.2.0
90-
- conda install conda-build anaconda-client
90+
- conda install conda-build
91+
- conda install anaconda-client
9192
# Useful for debugging any issues with conda
9293
- conda info -a
93-
# download/install OCE from DLR-SC channel
94-
- conda config --add channels dlr-sc
95-
- conda config --add channels conda-forge
96-
- conda config --add channels tpaviot
97-
- conda config --add channels oce
98-
- conda config --add channels pythonocc
94+
# dlr-sc channel is required for opencascade-7.4.0 package
95+
- conda config --add channels https://conda.anaconda.org/dlr-sc
96+
- conda config --add channels https://conda.anaconda.org/conda-forge
9997

10098
script:
10199
- conda build ci/conda --dirty --no-remove-work-dir
@@ -110,7 +108,7 @@ after_success:
110108
anaconda -t $BINSTAR_TOKEN upload *.bz2 -l main --force;
111109
else
112110
anaconda -t $BINSTAR_TOKEN upload *.bz2 -l cd-$TRAVIS_BRANCH --force;
113-
fi;
111+
fi
114112

115113

116114
branches:

AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ Trevor Laughlin
1515
jelle feringa
1616
nxsofsys
1717
Thomas Severin
18+
19+
Please report any missing name

0 commit comments

Comments
 (0)