Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db81d1d

Browse files
committed
fix travis cahce debugging
1 parent ce8b62a commit db81d1d

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@ cache:
3333
- $HOME/.cache
3434

3535
before_cache:
36-
- test "$ORACLE_ZIP_DIR" && ls -la $ORACLE_ZIP_DIR
37-
- test .cache && ls -laR .cache
38-
- ls -la $HOME
39-
- ls -la .
36+
- test -z "$ORACLE_ZIP_DIR" && ls -la $ORACLE_ZIP_DIR
4037

4138
before_install:
42-
- echo zipdir is $ORACLE_ZIP_DIR
43-
- test "$ORACLE_ZIP_DIR" && ls -la $ORACLE_ZIP_DIR
44-
- test .cache && ls -laR .cache
45-
4639
# On trusty, download the zip file into a cachable directory
4740
- test "$DIST" = precise || export ORACLE_ZIP_DIR=$HOME/.cache
41+
- echo zipdir is $ORACLE_ZIP_DIR
42+
- test -z "$ORACLE_ZIP_DIR" && ls -la $ORACLE_ZIP_DIR
43+
4844
# If the zip file already exists, do not download it again
4945
- test -f "$ORACLE_ZIP_DIR"/$(basename $ORACLE_FILE) || bash .travis/oracle/download.sh
5046

0 commit comments

Comments
 (0)