-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
38 lines (34 loc) · 815 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
language: minimal
dist: focal
git:
depth: 5
stages:
- test
jobs:
fast_finish: true
include:
- stage: test
env:
- task="nslookup check"
before_script:
- echo 'nameserver 8.8.4.4' | sudo tee /etc/resolv.conf
- echo 'nameserver 9.9.9.10' | sudo tee -a /etc/resolv.conf
- echo 'nameserver 77.88.8.8' | sudo tee -a /etc/resolv.conf
- echo 'nameserver 168.95.1.1' | sudo tee -a /etc/resolv.conf
script:
- ./tests/nslookup
- stage: test
env:
- task="duplicate check"
script:
- ./tests/duplicate
- stage: test
env:
- task="sorting check"
script:
- ./tests/sort
- echo 'example.com' >> list; ! ./tests/sort
allow_failures:
env:
- task="nslookup check"