Skip to content

Commit

Permalink
Replace single domain testing with test script on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Jan 12, 2025
1 parent 3c35114 commit f10cd89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- echo -e '8.8.4.4\n1.0.0.1\n1.1' > CustomDNS.txt
- echo -e '223.5.5.5\n114.114.114.114' > CustomDNS2.txt
script:
- ./chkdm dnslow.me
- CustomDNSFile=./CustomDNS2.txt ./chkdm dnslow.me
- rm CustomDNS.txt && ./chkdm dnslow.me
- CustomDNSFile=./CustomDNS-not-exist.txt ./chkdm dnslow.me
- ./test_chkdm.sh
- CustomDNSFile=./CustomDNS2.txt ./test_chkdm.sh
- rm CustomDNS.txt && ./test_chkdm.sh
- CustomDNSFile=./CustomDNS-not-exist.txt ./test_chkdm.sh

- stage: Ubuntu test
env:
Expand Down Expand Up @@ -64,10 +64,10 @@ jobs:
- echo -e '8.8.4.4\n1.0.0.1\n1.1' > CustomDNS.txt
- echo -e '223.5.5.5\n114.114.114.114' > CustomDNS2.txt
script:
- ./chkdm dnslow.me
- CustomDNSFile=./CustomDNS2.txt ./chkdm dnslow.me
- rm CustomDNS.txt && ./chkdm dnslow.me
- CustomDNSFile=./CustomDNS-not-exist.txt ./chkdm dnslow.me
- ./test_chkdm.sh
- CustomDNSFile=./CustomDNS2.txt ./test_chkdm.sh
- rm CustomDNS.txt && ./test_chkdm.sh
- CustomDNSFile=./CustomDNS-not-exist.txt ./test_chkdm.sh

- stage: macOS test
os: osx
Expand Down

0 comments on commit f10cd89

Please sign in to comment.