Skip to content
Snippets Groups Projects
Commit 160f16fc authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed CONDA with MacOS on Travis

parent 1961bd67
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ matrix: ...@@ -95,7 +95,7 @@ matrix:
- name: Conda build, MacOS - name: Conda build, MacOS
os: osx os: osx
if: branch =~ ^test- OR tag IS present OR type IN(pull_request) OR type IN(cron) if: branch =~ ^test- OR tag IS present OR type IN(pull_request) OR type IN(cron)
osx_image: xcode8.3 osx_image: xcode9.2
env: PLUMED_CONDA=yes env: PLUMED_CONDA=yes
# I don't put any mpi variant with macports since it takes too long to compile # I don't put any mpi variant with macports since it takes too long to compile
## This command can be used to allow failures: ## This command can be used to allow failures:
......
CONDA_BUILD_SYSROOT:
- /var/tmp/MacOSX-SDKs/MacOSX10.9.sdk # [osx]
CONDA_BUILD_SYSROOT:
- /var/tmp/MacOSX-SDKs/MacOSX10.9.sdk # [osx]
python: python:
- 2.7 - 2.7
- 3.6 - 3.6
......
...@@ -9,6 +9,14 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ...@@ -9,6 +9,14 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
csys=Linux csys=Linux
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
csys=MacOSX csys=MacOSX
PREV=$(pwd)
cd /var/tmp
mkdir MacOSX-SDKs
cd MacOSX-SDKs
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz
tar -xf ./MacOSX10.9.sdk.tar.xz
rm MacOSX10.9.sdk.tar.xz
cd $PREV
else else
echo "Unsupported system $TRAVIS_OS_NAME" echo "Unsupported system $TRAVIS_OS_NAME"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment