forked from sbkashif/signac-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
36 lines (35 loc) · 1.24 KB
/
bitbucket-pipelines.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
# This is a sample build configuration for Python.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Dockerhub as your build environment.
image: continuumio/miniconda3
pipelines:
branches:
staging:
- step:
name: Setup test environment and run tests
script:
- conda --version
- python --version
- conda config --add channels glotzer
- conda config --add channels conda-forge
- conda create -n py36 --yes python=3.6 signac signac-flow signac-utils
- source activate py36
- apt-get update
- apt-get --yes install quantum-espresso
- which pw.x
- cd projects
- ./run-tests.sh --output
master:
- step:
script:
- conda --version
- python --version
- conda config --add channels glotzer
- conda config --add channels conda-forge
- conda create -n py36 --yes python=3.6 signac signac-flow signac-utils
- source activate py36
- apt-get update
- apt-get --yes install quantum-espresso
- cd projects
- ./run-tests.sh