forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
35 lines (35 loc) · 1.17 KB
/
circle.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
machine:
timezone:
America/Los_Angeles
python:
version: 2.7.8
environment:
PATH: $PATH:/home/ubuntu/pymatgen/cmd_line/enum/Linux_64bit:/home/ubuntu/pymatgen/cmd_line/bader/Linux_64bit:/home/ubuntu/pymatgen/cmd_line/gulp/Linux_64bit:/home/ubuntu/pymatgen/cmd_line/aconvasp/Linux_64bit
GULP_LIB: /home/ubuntu/pymatgen/cmd_line/gulp/Libraries
dependencies:
override:
- easy_install -U setuptools
- pip install -q numpy
- pip install -r requirements.txt
- pip install -r requirements-optional.txt
- sudo apt-get install python-openbabel
- python setup.py develop
test:
override:
- python run_test.py:
timeout: 720
# Some rudimentary command line tests for pmg
- pmg convert test_files/Li2O.cif POSCAR.pmg
- pmg convert POSCAR.pmg pmg.cif
- pmg analyze -d test_files
deployment:
py3:
branch: master
commands:
- git config --global user.name "Py3k merger"
- git config --global user.email ongsp@ucsd.edu
- git config --global push.default matching
- git checkout stable_py3
- git pull
- git merge master -m "Automatic Py3k merge for testing"
- git push origin stable_py3