Skip to content

Commit

Permalink
tests: switch to gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
autra committed Jul 1, 2020
1 parent 27c1ec9 commit 2d94ace
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
29 changes: 29 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.job_template: &job_definition
stage: test
before_script:
- apt update
- apt install -y pdal
script:
- pip install .
- pip install .[dev]
- pytest
- flake8 setup.py py3dtiles/
# TODO move that in unit tests
- py3dtiles info tests/pointCloudRGB.pnts
tags:
- gitlab-org-docker

# oldest supported
test:python35:
<<: *job_definition
image: python:3.5

# latest
test:python-latest:
<<: *job_definition
image: python:latest

# stretch
test:python-stretch:
<<: *job_definition
image: python:3.7-stretch
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def find_version(*file_paths):
author='Oslandia',
author_email='contact@oslandia.com',
license='Apache License Version 2.0',
python_requires='>=3.5',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
packages=find_packages(),
Expand Down

0 comments on commit 2d94ace

Please sign in to comment.