blob: ab16bc8a5f9b87bef08ae89e56f89d77753df075 (
plain)
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
|
language: python
cache: pip
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy-5.4"
- "pypy3"
matrix:
allow_failures:
- python: "nightly"
before_install:
# Install test dependencies
- pip install -r requirements-dev.txt
- pip install codecov
install:
- ./ci_tools/retry.sh python updatezinfo.py
- if pip freeze | grep dateutil; then pip uninstall -y python-dateutil; fi
# Install the libraries
- pip install .
before_script:
# Run the script from something other than the repo root
- mkdir build_test
- cp -pr dateutil/test build_test/test
- cd build_test
script:
- coverage run -m pytest -v
after_success:
- codecov
sudo: false
|