forked from oracle/oci-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
51 lines (47 loc) · 1.3 KB
/
wercker.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
build-py27:
box: python:2.7
steps:
# Does a pip install -r requirements.txt to install dependencies
- pip-install
# Install the SDK via pip install -e .
- pip-install:
requirements_file: ""
extra_args: "-e ."
# Verify via our script. Since we don't have a configuration file on the image
# (i.e. an actual command to, say, list instances would fail) here we just ensure
# that the CLI can be run via its `oci` entrypoint
- script:
name: make sure CLI can be invoked
code: |
python --version
oci
oci --version
oci compute instance launch --generate-full-command-json-input
build-py35:
box: python:3.5
steps:
- pip-install
- pip-install:
requirements_file: ""
extra_args: "-e ."
- script:
name: make sure CLI can be invoked
code: |
python --version
oci
oci --version
oci compute instance launch --generate-full-command-json-input
build-py36:
box: python:3.6
steps:
- pip-install
- pip-install:
requirements_file: ""
extra_args: "-e ."
- script:
name: make sure CLI can be invoked
code: |
python --version
oci
oci --version
oci compute instance launch --generate-full-command-json-input