Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic Dachary committed Jan 14, 2018
1 parent a10d06b commit 9d32171
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
jobs:
stages:
- tests
- integration

lint:
stage: tests
script: |
pwd
ls
apt-get update
apt-get install -y make git
make -C securedrop testclean || true
make -C securedrop images test
integration-test:
stage: integration
script: |
exit 0
cd devops/openstack
source bootstrap
perl -p -e 's/\$(\w+)/$ENV{$1}/e' < clouds.yml.example > clouds.yml
Expand Down
2 changes: 1 addition & 1 deletion securedrop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test:
-e COMMIT_SHA=$(TAG) \
$(EXTRA_TEST_ARGS) \
--name $(IMAGE)-test \
-ti $(IMAGE)-test:$(TAG) \
$(IMAGE)-test:$(TAG) \
./bin/test -v $(TESTFILES)

.PHONY: testclean
Expand Down

0 comments on commit 9d32171

Please sign in to comment.