Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b93b974

Browse filesBrowse files
author
Jon Wayne Parrott
committed
Fixing travis
Change-Id: I5210d1d6476c4526e3af7cb7125066e4ce20d5c9
1 parent bf71918 commit b93b974
Copy full SHA for b93b974

File tree

Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed

‎scripts/travis.sh

Copy file name to clipboard
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# Decrypt secrets if not on an external PR.
4+
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
5+
openssl aes-256-cbc -k "$secrets_password" -in secrets.tar.enc -out secrets.tar -d;
6+
tar xvf secrets.tar;
7+
fi
8+
9+
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
10+
source ${TRAVIS_BUILD_DIR}/testing/resources/test-env.sh;
11+
nox --stop-on-first-error -s lint travis;
12+
else
13+
# only run lint on external PRs
14+
echo 'External PR: only running lint.'
15+
nox --stop-on-first-error -s lint;
16+
fi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.