Skip to content

Commit a202538

Browse files
authored
Migrate the Travis configuration to travis-ci.com (#5042)
* Migrate the Travis configuration to travis-ci.com * Export the python path and change the installation order * [Temp] rollback changes to fix flake8 issue * Install couchdb library for python2 * Install all library for python2 * Pull the runtime image in advance. * Add a comment
1 parent 6254477 commit a202538

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ notifications:
4040
webhooks:
4141
urls:
4242
# travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results
43-
secure: "tYJIDAKtHp+yLw53yB6+TQnNfyNwZDAZyG7QmHbNP5Mf1HR0GLhpe02AjV99NkjAgaGYxngUELMhNOyB8eiyMdxpemwny4oOeyOUQzVmiry/804JnjK2YvHyAGFVGuhV0LZVfCPsPh5x91yKcDPLSqRSTKhZOiJFmDpBy4qzxM4W7IXxAM+yHKrm8cznBRdR5rGxT5IjV58xMB1p69jJy1rxnjtEWmB2z7j/SiKa6IQlVYgr+BgaJxBhy9WYYczvceU+qyrTWpVYy5P3o5+b0MZ/UkyB5CZT9N5LzLGjLRDqNaNYCT3U8ow1H6w+zY7/9KrAf6szT6raN606vN7uv7TqGEugG949JQfRSQNe3Y7IvTAHatI9VAc3opWgy0jm7eBu9pzSECamGGSGGHl18m7oWZypiwB+ooKg7k545XQCoVwlRulBvwnVO8w2HOjkKSds/JnNhdXLtNKRaBaZxhBkk+5b43k59vaYsHDXaYFUob/nG/K3JoPRkcLtFe3JfNsCABJYC0VbRE3AizHr8CYMhBUrgElPFwPmIJwwLOORq6y3zIRxTOIz4b/x2q9Oa17vK0IwAjgHi8y9RXc6lG0mCyVFScdpxoGF3d9xF8Edwc8WN22pYaZ8r71UF4AWOVxJs1Cnp8gcAn14gONVVvkaVCUwNCCElbJkjdVhhnI="
43+
secure: "qSkFNkMDYhp025vW+hBWO4wlMEeaz2S2c3tsZgIhcqji58AAxL2KKuNIWAuzftIxC5l5RwPt/OBXWFjgnAwCjj3hfczMfpuexGPruzmRe2GYbBwS0OhwDkWVosl9UqFELbZEdQ/tTJyW7p3Gd4FSjCJBCAdRL5yYcn3RiCj/UrJ6454IkKqeuTihWp2ZklqnZpMv9WzC4DK+cI/rJUP5megh/gilORfBD5/wnMMksC5NSlpc2WAtdeKusVZiZ6ieR6uLoR3rwzgUBC3PbyX8GO1OIh+LnvO7c0Hrhc2u685nxrCMseJIH9kZQboGA7RbiH64U5Zy7dK6fiFGfQJc3YyfsbKBKyd0QlvZp1vKw4iAvtsyentodjR1lN29fuTUW3hPMCo/YJSxZmHHMRSsoqs4zMp7lHo0aDfBOJRB+jjluA96Tn8SZjIATu76SwzJ0EolyVGw25HqKxSX0eM0ZLgrVrh89CwSlEYop07lQzaa1QTFu9DizONS8jlQYpXoAdgfeBXPDCyHVUzYjljzKyZG2Ph86eEo1mdHOlDyPI0hHuspBObP/mxSKXldxgBDRJ2jvF75t9DcxZdDzis5HBZeEktyIFaLS7spHlQLqGNEnpxNc+FxpT52Uw/sYJ6e1OG2Qx3Jhz4NNo4wJWUkdS1saaFCxIlyh7pqjpnsWqU="
4444

4545
# specific cache configuration for gradle based builds
4646
# see: https://docs.travis-ci.com/user/languages/java/#caching
@@ -57,7 +57,7 @@ before_install:
5757
- ./tools/travis/docker.sh
5858
- sudo apt-get install -y python3-pip
5959
- pip install --user --upgrade pip setuptools six
60-
- pip3 install --user setuptools six
60+
- pip3 install --user --upgrade pip setuptools six
6161

6262
install:
6363
- ./tools/travis/setup.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# OpenWhisk
2121

22-
[![Build Status](https://travis-ci.org/apache/openwhisk.svg?branch=master)](https://travis-ci.org/apache/openwhisk)
22+
[![Build Status](https://travis-ci.com/apache/openwhisk.svg?branch=master)](https://travis-ci.com/apache/openwhisk)
2323
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
2424
[![Join Slack](https://img.shields.io/badge/join-slack-9B69A0.svg)](https://openwhisk-team.slack.com/)
2525
[![codecov](https://codecov.io/gh/apache/openwhisk/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/openwhisk)

tools/travis/runStandaloneTests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ kind create cluster --wait 5m
4444
export KUBECONFIG="$(kind get kubeconfig-path)"
4545
kubectl config set-context --current --namespace=default
4646

47+
# This is required because it is timed out to pull the image during the test.
48+
docker pull openwhisk/action-nodejs-v10:nightly
4749

4850
cd $ROOTDIR
4951
TERM=dumb ./gradlew :core:standalone:build \

tools/travis/setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ function retry() {
3131
}
3232

3333
# Python
34-
pip install --user couchdb
34+
python -m pip install --user couchdb
3535

3636
# Ansible
37-
pip install --user ansible==2.5.2
37+
python -m pip install --user ansible==2.5.2
3838

3939
# Azure CosmosDB
40-
pip install --user pydocumentdb
40+
python -m pip install --user pydocumentdb
4141

4242
# Support the revises log upload script
43-
pip install --user humanize requests
43+
python -m pip install --user humanize requests
4444

4545
# Basic check that all code compiles and depdendencies are downloaded correctly.
4646
# Compiling the tests will compile all components as well.

0 commit comments

Comments
 (0)