python2.yml 553 Bytes
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
queue:
  name: Hosted Ubuntu 1604
  timeoutInMinutes: 30

trigger:
  batch: true
  branches:
    include:
    - master

variables:
  python.version: '2.7'


steps:

- task: UsePythonVersion@0
  displayName: 'Use Python $(python.version)'
  inputs:
    versionSpec: '$(python.version)'

22
- script: 'azure/install_dependencies.sh && pip install .'
Gao, Xiang's avatar
Gao, Xiang committed
23
24
25
26
27
28
29
  displayName: 'Install dependencies'

- script: 'python2 examples/energy_force.py'
  displayName: Energy and Force Example

- script: 'python2 examples/ase_interface.py'
  displayName: ASE Interface Example