forked from poliastro/poliastro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
45 lines (34 loc) · 1.07 KB
/
appveyor.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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# File shamelessly inspired by Astropy
version: 0.6.dev0-{build}
branches:
only:
- master
- 0.3.x
- 0.4.x
environment:
matrix:
- PYTHON: 3.4
- PYTHON: 3.5
matrix:
fast_finish: true
install:
- "set PATH=C:\\Miniconda3-x64;C:\\Miniconda3-x64\\Scripts;%PATH%"
# Install the build and runtime dependencies of the project.
- "conda config --set always_yes yes --set changeps1 no"
- "conda config --add channels poliastro"
- "conda update -q conda"
- "conda info -a"
- "conda create -q -n test-environment python=%PYTHON%"
- "activate test-environment"
# Check that we have the expected version of Python
- "python --version"
# Install testing dependencies
- "pip install pytest codecov pytest-benchmark"
# Install dependencies
- "conda install -q numpy numba>=0.23 astropy>=1.0 matplotlib scipy jplephem"
- "pip install ." # Test installation correctness
build: off
test_script:
- "py.test -vv --benchmark-skip" # Test against installed code