File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 5
5
steps :
6
6
- checkout
7
7
- run :
8
- name :
8
+ name :
9
9
command : |
10
10
sudo apt-get -y update
11
11
sudo apt-get -y install shellcheck git
12
-
13
- - run : git clone --depth 1 https://github.com/sstephenson/bats.git
12
+
13
+ - run : git submodule sync
14
14
- run : git submodule update --init
15
15
- run :
16
16
name : tests
17
17
command : |
18
- export TERM=dumb && bats/bin/bats test/*.bats
18
+ export TERM=dumb && ./test/ bats/bin/bats test
19
19
shellcheck *.sh
20
-
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ addons:
29
29
update : true
30
30
31
31
before_install :
32
- - git clone --depth 1 https://github.com/sstephenson/bats.git
32
+ - git submodule sync
33
+ - git submodule update --init
33
34
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
34
35
mkdir -p ~/perl5;
35
36
fi
@@ -44,4 +45,4 @@ install:
44
45
- cpanm --quiet --notest Test::Perl::Critic Perl::Critic::Freenode
45
46
script :
46
47
- perlcritic -1 -q --theme freenode diff-so-fancy
47
- - ./bats/bin/bats test/*.bats
48
+ - ./test/ bats/bin/bats test
Original file line number Diff line number Diff line change 1
- install :
2
- - git clone --depth 1 https://github.com/sstephenson/bats.git
3
-
4
1
build : false
5
2
6
3
before_test :
4
+ - git submodule sync
7
5
- git submodule update --init
8
6
9
7
test_script :
10
- - C:\cygwin\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; bats/libexec /bats test/*.bats "
8
+ - C:\cygwin\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./test/ bats/bin /bats test"
You can’t perform that action at this time.
0 commit comments