2018-05-19 16:04:35 +02:00
|
|
|
language: python
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
language: generic
|
2018-05-19 20:36:55 +02:00
|
|
|
env:
|
|
|
|
- PY=3.6
|
|
|
|
- nedocker=NO
|
2018-05-19 16:04:35 +02:00
|
|
|
before_install:
|
|
|
|
- brew uninstall python mercurial postgis sfcgal cgal gdal
|
|
|
|
- brew update
|
|
|
|
- brew upgrade
|
|
|
|
- brew tap osgeo/osgeo4mac
|
|
|
|
- brew outdated gdal || brew upgrade gdal
|
|
|
|
- brew outdated gdal2 || brew upgrade gdal2
|
|
|
|
- brew install jq
|
|
|
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
|
|
|
|
- bash miniconda.sh -b -p $HOME/miniconda
|
|
|
|
- export PATH="$HOME/miniconda/bin:$PATH"
|
|
|
|
- hash -r
|
|
|
|
- conda update --yes conda
|
|
|
|
- conda info -a
|
|
|
|
- conda config --add channels conda-forge
|
|
|
|
- conda create --yes -n test-natural-earth python=$PY
|
|
|
|
- source activate test-natural-earth
|
|
|
|
- echo $(python --version)
|
|
|
|
- conda install --yes -c conda-forge fiona
|
|
|
|
- python -c "import fiona"
|
|
|
|
- conda install --yes -c conda-forge sparqlwrapper
|
|
|
|
- conda install --yes -c conda-forge requests
|
|
|
|
- pip install csvtomd
|
2018-05-19 20:36:55 +02:00
|
|
|
script:
|
2018-05-19 20:49:47 +02:00
|
|
|
- ./run_all.sh
|
|
|
|
|
|
|
|
|
|
|
|
# - os: linux
|
|
|
|
# env:
|
|
|
|
# - PY=3.6
|
|
|
|
# - nedocker=NO
|
|
|
|
# sudo: required
|
|
|
|
# before_install:
|
|
|
|
# - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
|
|
|
|
# - sudo apt-get --yes --force-yes update -qq
|
|
|
|
# - sudo apt-get install --yes gdal-bin jq
|
|
|
|
# - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
|
|
|
|
# - bash miniconda.sh -b -p $HOME/miniconda
|
|
|
|
# - export PATH="$HOME/miniconda/bin:$PATH"
|
|
|
|
# - hash -r
|
|
|
|
# - conda update --yes conda
|
|
|
|
# - conda info -a
|
|
|
|
# - conda config --add channels conda-forge
|
|
|
|
# - conda create --yes -n test-natural-earth python=$PY
|
|
|
|
# - source activate test-natural-earth
|
|
|
|
# - echo $(python --version)
|
|
|
|
# - conda install --yes -c conda-forge fiona
|
|
|
|
# - python -c "import fiona"
|
|
|
|
# - conda install --yes -c conda-forge sparqlwrapper
|
|
|
|
# - conda install --yes -c conda-forge requests
|
|
|
|
# - pip install csvtomd
|
|
|
|
# script:
|
|
|
|
# - ./run_all.sh
|
2018-05-19 20:36:55 +02:00
|
|
|
|
2018-05-19 16:04:35 +02:00
|
|
|
|
2018-05-20 13:18:17 +02:00
|
|
|
# - language: python
|
|
|
|
# python: 3.6
|
|
|
|
# os: linux
|
|
|
|
# env:
|
|
|
|
# - nedocker=NO
|
|
|
|
# sudo: required
|
|
|
|
# before_install:
|
|
|
|
# - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
|
|
|
|
# - sudo apt-get --yes --force-yes update -qq
|
|
|
|
# - sudo apt-get install --yes gdal-bin jq
|
|
|
|
# - pip3 install -U SPARQLWrapper
|
|
|
|
# - pip3 install -U fiona
|
|
|
|
# - python -c "import fiona"
|
|
|
|
# - pip3 install -U csvtomd
|
|
|
|
# - pip3 install -U requests
|
|
|
|
# script:
|
|
|
|
# - ./run_all.sh
|
2018-05-19 20:49:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - language: python
|
|
|
|
# python: 3.5
|
|
|
|
# os: linux
|
|
|
|
# env:
|
|
|
|
# - nedocker=NO
|
|
|
|
# sudo: required
|
|
|
|
# before_install:
|
|
|
|
# - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
|
|
|
|
# - sudo apt-get --yes --force-yes update -qq
|
|
|
|
# - sudo apt-get install --yes gdal-bin jq
|
|
|
|
# - pip3 install -U SPARQLWrapper
|
|
|
|
# - pip3 install -U fiona
|
|
|
|
# - python -c "import fiona"
|
|
|
|
# - pip3 install -U csvtomd
|
|
|
|
# - pip3 install -U requests
|
|
|
|
# script:
|
|
|
|
# - ./run_all.sh
|
2018-05-19 16:04:35 +02:00
|
|
|
|
2018-05-19 20:36:55 +02:00
|
|
|
|
|
|
|
- services: docker
|
|
|
|
os: linux
|
|
|
|
env:
|
|
|
|
- nedocker=YES
|
|
|
|
sudo: required
|
|
|
|
before_install:
|
2018-05-19 21:18:04 +02:00
|
|
|
- docker version
|
|
|
|
- docker build -t ne_py3wikidata .
|
|
|
|
- docker images
|
2018-05-19 20:36:55 +02:00
|
|
|
script:
|
2018-05-19 21:18:04 +02:00
|
|
|
- docker run -it -v $(pwd):/ne ne_py3wikidata bash run_all.sh
|