Skip to content

Commit cdb46dd

Browse files
authored
Merge pull request #716 from tpaviot/review/update-ci
update travis and appveyor
2 parents 611906b + 320ae08 commit cdb46dd

File tree

6 files changed

+19
-57
lines changed

6 files changed

+19
-57
lines changed

.travis.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ git:
2727
# after that, copy/paste the secure on the following line
2828
env:
2929
global:
30-
- secure: "Bqor4TrYqeJUkjiIHjCq/e3xt/jAoU3Q5kwG/ej+QxaiT6hmkirX3Io3rHxNTbS+mYMAMTbtkkpGqYIYIYtNVx8jGYLdwOzNcuW/wzZf9VuAW/rnjx2lzuYRhHk3GOylSPUU06JHvXDmZvdMxetNBeWaE5hGuJsC9liA+stDepA="
30+
- secure: "Mu6SQsBmz2inttfIj3pXk4lx6ZXNs7MAq1agDgnGJknQTTi4ta0H+usxKhhGvxkh4eGgX01HuXAbPejU0W9xatHvYDQ3piKvqv672TrhYShHA4bWJke3q88BezSYaDQ+UBTmP5DD/ZFbprH+6bP9WqpRaYGC6UHbFkjRKEd2bk4="
3131

3232
addons:
3333
apt:
@@ -38,12 +38,6 @@ addons:
3838

3939
matrix:
4040
include:
41-
- env: PYTHON="2.7" CONDA_PY=27 ARCH="x86_64"
42-
os: linux
43-
dist: bionic
44-
- env: PYTHON="2.7" CONDA_PY=27 ARCH="x86_64"
45-
os: osx
46-
osx_image: xcode9.4
4741
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64"
4842
os: linux
4943
dist: bionic
@@ -85,6 +79,7 @@ before_install:
8579
- yes | ./miniconda.sh -b -p $HOME/miniconda
8680
#- bash miniconda.sh -b -p -f $HOME/miniconda
8781
- export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH"
82+
- export PYTHONUNBUFFERED=1
8883
- hash -r
8984
- conda config --set always_yes yes --set changeps1 no
9085
- conda update -q conda
@@ -96,13 +91,11 @@ before_install:
9691
# Useful for debugging any issues with conda
9792
- conda info -a
9893
# download/install OCE from DLR-SC channel
99-
- conda config --add channels https://conda.anaconda.org/dlr-sc
100-
- conda config --add channels https://conda.anaconda.org/conda-forge
101-
- conda config --add channels https://conda.anaconda.org/tpaviot
102-
- conda config --add channels https://conda.anaconda.org/oce
103-
- conda config --add channels https://conda.anaconda.org/pythonocc
104-
105-
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
10699

107100
script:
108101
- conda build ci/conda --dirty --no-remove-work-dir

appveyor.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,6 @@ environment:
2020
PYTHONIOENCODING: "UTF-8"
2121

2222
matrix:
23-
- PYTHON: "C:\\Python27_32"
24-
PYTHON_VERSION: "2.7"
25-
PYTHON_ARCH: "32"
26-
CONDA_PY: "27"
27-
CONDA_NPY: "18"
28-
CONDA_INSTALL_LOCN: "C:\\Miniconda"
29-
- PYTHON: "C:\\Python27_64"
30-
PYTHON_VERSION: "2.7"
31-
PYTHON_ARCH: "64"
32-
CONDA_PY: "27"
33-
CONDA_NPY: "18"
34-
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
35-
- PYTHON: "C:\\Python35_32"
36-
PYTHON_VERSION: "3.5"
37-
PYTHON_ARCH: "32"
38-
CONDA_PY: "35"
39-
CONDA_NPY: "18"
40-
CONDA_INSTALL_LOCN: "C:\\Miniconda35"
41-
- PYTHON: "C:\\Python35_64"
42-
PYTHON_VERSION: "3.5"
43-
PYTHON_ARCH: "64"
44-
CONDA_PY: "35"
45-
CONDA_NPY: "18"
46-
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
4723
- PYTHON: "C:\\Python36_32"
4824
PYTHON_VERSION: "3.6"
4925
PYTHON_ARCH: "32"
@@ -94,11 +70,11 @@ install:
9470
- cmd: conda config --set show_channel_urls true
9571
- cmd: conda update conda
9672
- cmd: conda install conda-build anaconda-client
97-
- cmd: conda config --add channels https://conda.anaconda.org/conda-forge
9873
- cmd: conda config --add channels https://conda.anaconda.org/dlr-sc
9974
- cmd: conda config --add channels https://conda.anaconda.org/oce
10075
- cmd: conda config --add channels https://conda.anaconda.org/pythonocc
10176
- cmd: conda config --add channels https://conda.anaconda.org/tpaviot
77+
- cmd: set PYTHONBUFFERED=1
10278

10379
build: off
10480

ci/conda/bld.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set MY_PY_VER=%PY_VER:.=%
66

77
REM Configure step
88
cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
9-
-DPYTHONOCC_BUILD_TYPE=RelWithDebInfo ^
9+
-DPYTHONOCC_BUILD_TYPE=Release ^
1010
-DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
1111
-DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^
1212
-DPYTHON_EXECUTABLE:FILEPATH="%PYTHON%" ^

ci/conda/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414

1515
# Configure step
1616
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX \
17-
-DPYTHONOCC_BUILD_TYPE=MinSizeRel \
17+
-DPYTHONOCC_BUILD_TYPE=Release \
1818
-DCMAKE_PREFIX_PATH=$PREFIX \
1919
-DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \
2020
-DPYTHON_EXECUTABLE:FILEPATH=$PYTHON \

ci/conda/meta.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ build:
1414

1515
number: {{ GIT_DESCRIBE_NUMBER }}
1616
binary_relocation: false [osx]
17-
features:
18-
- vc9 [win and py27]
19-
- vc14 [win and py35]
20-
- vc14 [win and py36]
2117

2218
requirements:
2319
build:
2420
- python
2521
- oce ==0.18.3
26-
- tbb ==2018_20171205
22+
- tbb
23+
- tbb-devel
2724
- cmake
2825
- ninja ==1.8.2
2926
- swig ==3.0.12
@@ -33,18 +30,17 @@ requirements:
3330
run:
3431
- oce ==0.18.3
3532
- python
36-
- tbb >=2018_20171205
37-
- freetype >=2.7
33+
- tbb
34+
- freetype
3835
- smesh ==6.7.6
3936
- six
4037

4138
test:
42-
requires:
43-
- numpy
44-
- wxpython [py27]
45-
- pyside [py27]
46-
- pyqt >=5
47-
- smesh ==6.7.6
39+
imports:
40+
- OCC
41+
- OCC.Core.BRepPrimAPI
42+
43+
4844

4945
about:
5046
home: https://github.com/tpaviot/pythonocc-core

ci/conda/run_test.bat

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)