forked from nvkelso/natural-earth-vector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
119 lines (107 loc) · 4.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
language: python
git:
depth: 1
fast_finish: true
matrix:
include:
- os: osx
language: generic
env:
- PY=3.6
- nedocker=NO
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
script:
- ./run_all.sh fast
# - 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
# - 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
# - 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
- services: docker
os: linux
env:
- nedocker=YES
sudo: required
before_install:
- docker version
- docker build -t ne_py3wikidata .
- docker images
script:
- docker run -it -v $(pwd):/ne ne_py3wikidata bash run_all.sh