Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Add codecov support
Browse files Browse the repository at this point in the history
  • Loading branch information
anuruddhal authored and isurulucky committed May 6, 2019
1 parent 1edeb5d commit 0004674
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .codecov.yml
@@ -0,0 +1,17 @@
# Copyright (c) 2019, WSO2 Inc. (http://wso2.com) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

codecov:
ci:
- travis
15 changes: 15 additions & 0 deletions .travis.yml
@@ -1,3 +1,16 @@
# Copyright (c) 2019, WSO2 Inc. (http://wso2.com) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dist: xenial
node_js:
- 9.11.2
Expand All @@ -16,3 +29,5 @@ before_install:
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/cellery-io/sdk
- cd $HOME/gopath/src/github.com/cellery-io/sdk
script: make all
after_success:
- bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion test-cases/hello-world-api/hello-world-api.bal
Expand Up @@ -52,4 +52,4 @@ public function build(cellery:ImageName iName) returns error? {
//Build Hello Cell
io:println("Building Hello World Cell ...");
return cellery:createImage(helloCell, iName);
}
}

0 comments on commit 0004674

Please sign in to comment.