Skip to content

Commit b40215a

Browse files
committed
updated conda build/travis to be independant from building platform
1 parent 6c4384a commit b40215a

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ jobs:
5454
os: osx
5555
osx_image: xcode9.4
5656
# Windows
57-
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
57+
- env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
5858
os: windows
59-
- env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
59+
- env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
6060
os: windows
61-
- env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
61+
- env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15
6262
os: windows
6363

6464
# Use miniconda to install binary versions of numpy etc. from continuum

ci/conda/meta.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,22 @@ build:
1313

1414
requirements:
1515
build:
16-
- python
17-
- opencascade ==7.4.0
16+
- {{ compiler('cxx') }}
17+
- {{ cdt('libx11-devel') }} # [linux]
18+
- {{ cdt('xorg-x11-proto-devel') }} # [linux]
19+
- {{ cdt('mesa-libgl-devel') }} # [linux]
20+
- ninja
1821
- cmake
19-
- ninja ==1.8.2
20-
- swig ==4.0.1
22+
- swig >=3.0.11
23+
24+
host:
25+
- python {{ python }}
26+
- opencascade ==7.4.0
2127

2228
run:
29+
- pyqt
2330
- opencascade ==7.4.0
24-
- python
25-
- six
31+
- python {{ python }}
2632

2733
test:
2834
imports:

0 commit comments

Comments
 (0)