Skip to content

Commit

Permalink
Merge pull request #5 from flanfly/master
Browse files Browse the repository at this point in the history
Travis CI
  • Loading branch information
lambdafu authored Oct 29, 2017
2 parents 2ec2391 + 0166796 commit d32e24f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ services:
- docker

install: |
docker build -t neopg-build-env prov
docker pull labor/neopg-build
script: |
docker run \
--name neopg-build-env \
--rm neopg-build-env \
sh -c "git clone https://github.com/das-labor/neopg.git && cd neopg/build && git checkout $TRAVIS_COMMIT && git submodule update --init && cmake -DCMAKE_BUILD_TYPE=Debug .. && cmake --build . && make test && make coverage && curl -s https://codecov.io/bash | bash"
- docker run \
--name neopg-build \
--rm \
--volume $TRAVIS_BUILD_DIR:/neopg \
labor/neopg-build \
sh -c "cd neopg/build && git submodule update --init && cmake -DCMAKE_BUILD_TYPE=Debug .. && cmake --build . && make test && make coverage"
- bash <(curl -s https://codecov.io/bash)
10 changes: 0 additions & 10 deletions prov/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,3 @@ RUN cd botan \
&& git checkout 2.3.0 \
&& ./configure.py \
&& make install

ENV GIT_COMMIT=master
#ENTRYPOINT git clone https://github.com/das-labor/neopg.git \
# && cd neopg \
# && git checkout $GIT_COMMIT \
# && cd build \
# && cmake -DCMAKE_BUILD_TYPE=Debug .. \
# && cmake --build \
# && make test
##tail -F /var/log/messages

0 comments on commit d32e24f

Please sign in to comment.