Преглед изворни кода

enable bats test in travis container

Michael Mächtel пре 8 година
родитељ
комит
3594a9402a
2 измењених фајлова са 7 додато и 0 уклоњено
  1. 4
    0
      .travis.yml
  2. 3
    0
      ci/run-travis.sh

+ 4
- 0
.travis.yml Прегледај датотеку

@@ -1,6 +1,10 @@
1 1
 language: rust
2 2
 rust: stable
3 3
 cache: cargo
4
+before_install:
5
+  - sudo add-apt-repository -y ppa:duggan/bats
6
+  - sudo apt-get update
7
+  - sudo apt-get -y install bats
4 8
 before_script: (cargo install rustfmt || true)
5 9
 sudo: false
6 10
 git:

+ 3
- 0
ci/run-travis.sh Прегледај датотеку

@@ -14,6 +14,9 @@ MY_PATH="$(dirname "$0")"
14 14
 # check that everything compiles and all tests pass
15 15
 "$MY_PATH/test-rust.sh"
16 16
 
17
+# after compiles run bats tests
18
+"$MY_PATH/test-bats.sh"
19
+
17 20
 # file existence
18 21
 echo "=== Checking for Missing Files ======================================="
19 22
 "$MY_PATH/check-files.py" || true

Loading…
Откажи
Сачувај