-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.travis.yml
38 lines (38 loc) · 1.57 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
language: python
matrix:
include:
# Extra includes for OSX since python language is not available by default on OSX
- os: osx
language: generic
env: PYTHON_VER=3.6
- os: osx
language: generic
env: PYTHON_VER=3.8
- os: linux
language: generic
env: PYTHON_VER=3.6
- os: linux
language: generic
env: PYTHON_VER=3.8
before_install:
# Additional info about the build
- uname -a
- df -h
- ulimit -a
- source devtools/travis-ci/before_install.sh
- python -V
install:
# Create test environment for package
- python devtools/scripts/create_conda_env.py -n=test -p=$PYTHON_VER devtools/conda-envs/test_env.yaml
# Activate the test environment
- conda activate test
# Build and install package
- python setup.py develop --no-deps
script:
- pytest -v --cov=sidechainnet sidechainnet/tests/
notifications:
email: false
slack:
secure: VY2iMLLOBMU61c5I1mYMLoFy8OSvsdyJZ4JFx1EBgK45UsFH51LGyKAUwedwcvM+17iD84arJDcCopn3dZUw5p3N/z+Q4kieMRQUBmdPHjn+wFYR0v4bFJwJ6h4HxSp5ij9CSHWJqWR9+xNOruaYDklJbA+xwOA9CZOabrQzO1llM7nyV/TDu+i4MdirElb3qFxXNvRw7QA8PwFNctFs6iOWL9IpHsywFBouo2tY2lZz9ZZwquTFCLp0BtKO8l89kR0Uv42PdW7JSy/RgpFE0Bw7yaqoc6YGkCOxb3prUAmre2ZGBwjdwd5QywNlinjRP+Fy5UOOfh6DkKJeOhgwgtTi57be7wiHLZT1CF2x6uNdOkj63xw0XAvr2ZsOz9on0t7v3o4MUYv9I+zZm+jksFCxQ8M/Vun19Mrn1TkTb96FnJyKG988+pPB1rvtAt5Yz+Px4IAIHw7IfYe7747/M3ycYS47Tullya2zOK57XJ9BmLrbTSs0+ERqz9IbRgNA8mSISUNr/FqMIDXANV1mIGuG8exEc6H9PnXHaGUVNZnibIJ0b9eOvEO51s6CI+MC/H9RZbDId16jFWO5QjD0r8km7G0QqZADb4DV+whiPtl2PBHPz3tsdXGZsSCbVRpQiMJLW+A2/MKkoRC1bZZrNKpr6Dud8PfXOeGNTSVBSi0=
after_success:
- codecov