Adam Kelly 5 rokov pred
rodič
commit
e7ed88018f
5 zmenil súbory, kde vykonal 21 pridanie a 2 odobranie
  1. 11 0
      .travis.yml
  2. 4 0
      requirements-dev.txt
  3. 1 2
      setup.py
  4. 0 0
      tests/__init__.py
  5. 5 0
      tests/test_other.py

+ 11 - 0
.travis.yml

@@ -0,0 +1,11 @@
+language: python # works on linux, not windows
+python:
+    - "3.6"
+
+install:
+    - pip3 install -r requirements-dev.txt
+    - python3 setup.py build
+    - python3 setup.py install
+
+script:
+    - pytest tests

+ 4 - 0
requirements-dev.txt

@@ -0,0 +1,4 @@
+pytest
+scikit-build
+cython
+cmake

+ 1 - 2
setup.py

@@ -26,6 +26,5 @@ setup(
         "Programming Language :: Python :: 3.5",
         "Programming Language :: Python :: 3.6",
         "Topic :: Scientific/Engineering",
-    ],
-    install_requires=['scikit-build', 'cython']
+    ]
 )

+ 0 - 0
tests/__init__.py


+ 5 - 0
tests/test_other.py

@@ -0,0 +1,5 @@
+import pytest
+
+def test_random():
+    assert True
+