-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (37 loc) · 1.05 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
language: python
dist: trusty
python:
- 3.6
services:
- postgresql
- rabbitmq
addons:
postgresql: "10"
env:
global:
- AIIDA_PATH=${HOME}/aiida1
jobs:
- TEST=package
- TEST=editable
#- name: docs
# env:
# READTHEDOCS: 'True'
# TEST_TYPE: docs
install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
- bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda info -a
- conda create -q -n aiida1 python=3.6
- conda activate aiida1
script:
- if [ "$TEST" == "package" ] ; then ./install_packages.sh; fi
- if [ "$TEST" == "editable" ] ; then ./install_editable.sh; fi
- git clone https://github.com/lsmo-epfl/aiida-lsmo-codes --depth 1
# - ./aiida-lsmo-codes/setup.py --computer localhost
# - verdi computer configure local localhost
# - verdi computer test localhost
# - pytest
# - if [ "$TEST_TYPE" == "docs" ] ; then cd docs; make; fi