File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,20 @@ addons:
22
22
- portaudio19-dev
23
23
before_install :
24
24
- pip install --upgrade pip wheel virtualenv
25
- - openssl aes-256-cbc -k "$secrets_password" -in secrets.tar.enc -out secrets.tar -d
26
- - tar xvf secrets.tar
25
+ - if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then
26
+ openssl aes-256-cbc -k "$secrets_password" -in secrets.tar.enc -out secrets.tar -d;
27
+ tar xvf secrets.tar;
28
+ fi
27
29
install :
28
30
- pip install nox-automation coverage
29
31
script :
30
- - source ${TRAVIS_BUILD_DIR}/testing/resources/test-env.sh
31
- - nox --stop-on-first-error -s lint travis
32
+ - if [ $TRAVIS_SECURE_ENV_VARS == "true" ] ; then
33
+ source ${TRAVIS_BUILD_DIR}/testing/resources/test-env.sh;
34
+ nox --stop-on-first-error -s lint travis;
35
+ else
36
+ # only run lint on external PRs
37
+ nox --stop-on-first-error -s lint travis;
38
+ fi
39
+
32
40
after_script :
33
41
- coverage report
You can’t perform that action at this time.
0 commit comments