diff --git a/.travis.yml b/.travis.yml index f9b6758f65..15c8504730 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,8 @@ jobs: git: depth: false script: - - .travis/export-github-repo.sh web3.js test-solana-web3.js - - .travis/export-github-repo.sh explorer test-explorer + - .travis/export-github-repo.sh web3.js/ test-solana-web3.js + - .travis/export-github-repo.sh explorer/ test-explorer - &release-artifacts if: type = push @@ -70,7 +70,7 @@ jobs: - "node" before_install: - - .travis/affects.sh ^explorer/ || travis_terminate 0 + - .travis/affects.sh explorer/ || travis_terminate 0 - cd explorer script: @@ -92,7 +92,7 @@ jobs: - ~/.npm before_install: - - .travis/affects.sh ^web3.js/ || travis_terminate 0 + - .travis/affects.sh web3.js/ || travis_terminate 0 - cd explorer script: echo todo diff --git a/.travis/export-github-repo.sh b/.travis/export-github-repo.sh index 4a74aaec6d..32d54fcb5b 100755 --- a/.travis/export-github-repo.sh +++ b/.travis/export-github-repo.sh @@ -25,7 +25,7 @@ declare repo_name=$2 exit 1 } -.travis/affects.sh "^$subdir/" || exit 0 +.travis/affects.sh "$subdir" || exit 0 echo "Exporting $subdir" set -x