forked from dragnet-org/dragnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (47 loc) · 1.16 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: python
python:
- 3.5
env:
global:
- CONDA_INSTALL_PATH=$HOME/conda
- PROJ_DIR=$HOME/miniconda
matrix:
- PYTHON_VERSION='3.5'
- PYTHON_VERSION='2.7'
sudo: required
#cache:
# apt: true
# pip: true
# directories:
# - $PROJ_DIR
before_install:
- ls /etc/profile.d/
install:
- export MINICONDA_VER='4.2.12'
- export MINICONDA_VARIANT='3'
- export OS_TYPE="Linux-x86_64.sh"
- sudo chmod 777 /etc/profile.d
- ls -la /etc/profile.d/
- wget -O - https://raw.githubusercontent.com/bomboradata/bootstrap-conda/master/bootstrap-conda.sh | bash
- sudo chmod 755 /etc/profile.d
- ls -la /etc/profile.d/
- source /etc/profile
- source /etc/profile.d/conda.sh
- echo "$PATH"
- echo "$PWD"
- ls -la $HOME
- conda update --all --yes --quiet
- conda info
- conda list
- echo "$PATH"
- echo "$PWD"
after_install:
- ls /etc/profile.d/
script:
- conda create --yes --quiet --name=dragnet-$PYTHON_VERSION python=$PYTHON_VERSION
- conda env update --quiet --name=dragnet-$PYTHON_VERSION --file=./env/env_dragnet.yml
- conda info
- conda list
- source activate dragnet-$PYTHON_VERSION
- make install-pip
- make test