-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
28 lines (26 loc) · 923 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
sudo: required
services:
- docker
jobs:
include:
- stage: build
script: docker-compose -f docker-compose.yml run ocb128_crypto rebar3 compile
- stage: test
script: docker-compose -f docker-compose.yml run ocb128_crypto rebar3 xref
-
script: docker-compose -f docker-compose.yml run ocb128_crypto rebar3 eunit
-
script: docker-compose -f docker-compose.yml run ocb128_crypto rebar3 ct
-
script:
- docker-compose -f docker-compose.yml run ocb128_crypto gcc test/ocb128_test.c c_src/crypt.c -Ic_src -lcrypto -o ocb128Test
- docker-compose -f docker-compose.yml run ocb128_crypto ./ocb128Test
- stage: docs
script: docker-compose -f docker-compose.yml run ocb128_crypto rebar3 edoc
deploy:
provider: pages
skip_cleanup: true
local_dir: docs
github_token: $GH_REPO_TOKEN
on:
branch: master