-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move tests from .travis.yml to tests/
The tests should be runnable from outside Travis CI. Creating a separate script also makes the YAML lines simpler, and long comments added to explain the scipts. Closes #189 Related to #183
- Loading branch information
1 parent
cecaaaa
commit 6631440
Showing
3 changed files
with
30 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
set -e -x | ||
|
||
export OS_NAME=posix; | ||
cd /coala; python3 -m pytest; | ||
cd /coala-bears; | ||
rm bears/Constants.py; # There are no tests covering this module | ||
rm bears/c_languages/CSharpLintBear.py tests/c_languages/CSharpLintBearTest.py; | ||
rm bears/java/InferBear.py tests/java/InferBearTest.py; | ||
rm bears/haskell/GhcModBear.py tests/haskell/GhcModBearTest.py; | ||
rm -r bears/verilog tests/verilog/; | ||
python3 -m pytest --cov --cov-fail-under=100; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# This script verifies that VCS fetching is possible, | ||
# even after the Dockerfile ruthlessly removes parts | ||
# of the VCS packages because they have lots of | ||
# unnecessary dependencies for unneeded features. | ||
|
||
set -e -x | ||
|
||
cd /tmp; | ||
svn co https://github.com/githubtraining/hellogitworld.git; | ||
bzr branch lp:govcstestbzrrepo; | ||
hg clone https://bitbucket.org/fracai/empty-hg; |