-
Notifications
You must be signed in to change notification settings - Fork 77
/
.travis.yml
38 lines (30 loc) · 682 Bytes
/
.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
dist: trusty
sudo: required
language: python
python:
- "3.6"
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/download
addons:
apt:
packages:
- libc6
- libstdc++6
- liblapack-dev
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION --yes
- source activate testenv
install:
- conda install lightgbm --yes
- pip install -r requirements.dev.txt
script:
- pytest
after_success:
- coveralls