Skip to content

Commit 614c1df

Browse files
committed
build(appscan): Revised appscan scripts for python
1 parent c2fc071 commit 614c1df

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22
sudo: required
3+
dist: trusty
34
python:
45
- '2.7'
56
- '3.4'
@@ -14,7 +15,14 @@ install:
1415
- pip install tox-travis
1516
- pip install bumpversion
1617
- npm install @semantic-release/exec
18+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd ../; fi'
19+
- cd appscan; make asoc-tool; cd ../;
20+
before_script:
21+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi'
22+
- chmod a+x ./appscan/ASOC.sh
1723
script:
24+
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi'
25+
- ./appscan/ASOC.sh
1826
- pip install -U python-dotenv
1927
- tox
2028
before_deploy:

appscan/Configfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ APPSCAN_CLIENT_URL ?= https://appscan.ibmcloud.com/api/SCX/StaticAnalyzer/SAClie
1010
OS ?= linux
1111
APPSCAN_TOOL := $(APPSCAN_CLIENT_URL)$(OS)
1212

13-
GIT_REPO ?= git@github.com:watson-developer-cloud/node-sdk.git
13+
GIT_REPO ?= git@github.com:watson-developer-cloud/python-sdk.git
1414

15-
PROJECT_NAME ?= node-sdk
15+
PROJECT_NAME ?= python-sdk
1616

1717
# Headers added to curl command
1818
CONTENT_HEADER_JSON := --header 'Content-Type: application/json'

appscan/app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Id": "1cbcdce1-a87a-4f28-a9d1-98e4b482b848",
2+
"Id": "769fd34f-7a4a-484a-a069-9b27d052cd9b",
33
"AssetGroupName": "IBM Watson and Cloud Platform",
44
"DateCreated": null,
55
"LastUpdated": null,
@@ -20,7 +20,7 @@
2020
"ComplianceStatuses": [],
2121
"CanBeDeleted": true,
2222
"LockedToSubscription": false,
23-
"Name": "Watson Node SDK",
23+
"Name": "Watson Python SDK",
2424
"AssetGroupId": null,
2525
"BusinessImpact": "Unspecified",
2626
"Url": null,

0 commit comments

Comments
 (0)