-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
79 lines (71 loc) · 3.36 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
dist: xenial
language: cpp
env:
global:
# - secure: "JlVpGztPCTzPA/F3IpRRxwXTD1kj9hN/Kprd1+TA/tSpDjP/l7U/dHepolEBkXa8DjPXUz93d7UNeasJR+vVbB0qX3VuAeWdYcRqdlqVMLL01qg0N9lKhoC9gdlLJ5dvQ30bA6tV7znbF0SQa8p5612RfJ9CO+CyeUY48+8tUTzt7rLtjmeIzu7+nVScEUVJjrx2OblPeLdomejxv7tVYvWLa2/X515wE7HE8jkbuwFuTrdobcdcB+0JaGv+c9TG/fcZlZc/i6Eq70ImWtGza7OMaFrZn5QFcKfA3TywSpVk7x9a1pdghAfNm6ZA9xQwZrTc+ih4RoMTvrN/3UeWz9GZRZsT+e1n7QYrpeG8VQhwEMpFgOFptGClOJ8CtIN90/Kfuuob7/T7sigs6mmpzhhPrJpid3BwKtnwoctJieZlBUddQ6JX83nQOLDYDsU/1c/JZXvIME46fevp0CMBXyYff2hPBmJESn3k5TOHy5e7RasdqMo1t4mZ5AR1dXys2+JPgGxFm0mboRwKyQByQUOl+ZXXhfw57C9Kpxzwg6gpKSy46nfM2whnv+1tcErvuzUWvvwaQ4qV9uC9xQhRXYMARct313WIQ2ZTkxIaYPIqS3YQgbtpEEO0oNmgLr2fLxhgkaZTN++JmkzPa2uamKjCmc+oaDC8MYqwPFb7An0="
- GIT_NAME: hbgit
- GIT_EMAIL: herberthb12@gmail.com
- TRAVIS_REPO_SLUG: hbgit/Map2Check
services:
- docker
before_script:
- docker build -t hrocha/mapdevel --no-cache -f Dockerfile .
- docker build -t hrocha/benchexecrun --no-cache -f utils/benchexecrun/Dockerfile
utils/benchexecrun/
script:
- docker run --rm -v $(pwd):/home/map2check/devel_tool/mygitclone:Z --user $(id -u):$(id
-g) hrocha/mapdevel /bin/bash -c "cd /home/map2check/devel_tool/mygitclone; ./make-release.sh;
./make-unit-test.sh"
- "./make-regression-test.sh t"
- docker run --rm -v $(pwd):/home/map2check/devel_tool/mygitclone:Z --user $(id -u):$(id
-g) hrocha/mapdevel /bin/bash -c "cd /home/map2check/devel_tool/mygitclone; ./check_code_style.py
-t -c -p"
notifications:
email:
recipients:
- herberthb12@gmail.com
- rafa.sa.xp@gmail.com
on_success: never
on_failure: never
before_install:
- >-
openssl aes-256-cbc
-K $encrypted_e6f8e0bf4c27_key
-iv $encrypted_e6f8e0bf4c27_iv
-in github_deploy_key.enc
-out github_deploy_key
-d
- chmod 600 github_deploy_key
- eval $(ssh-agent -s)
- ssh-add github_deploy_key
- ls -al ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- sudo apt-get -y install p7zip-full p7zip-rar
before_deploy:
- sudo rm -rf release/*.map2check
- sudo rm -rf release/results
- ./utils/create-release.sh "${TRAVIS_TAG}"
# - ./deploy.sh
#deploy
deploy:
skip_cleanup: true
provider: releases
script:
- echo "$TRAVIS_TAG"
- echo "$TRAVIS_BRANCH"
prerelease: true
overwrite: true
api_key:
secure: "dVn9JIBjUKidHhHndmIbbWS6vy2ufPuCSZR/8FJSmx0tHJQVpJ0gvEso4c7xcrO+3c/8YB8DGTp9mQuo8YR5tW7C38YEpQDmskasyr5BxTaVh3RT9Wbo9LOq50DW9dzdcRU6xziS3EEtZLQCND5q+77ZyzBd+ZmmCHWu2TCU5kgrhd7W5VbYjAJG4s1w6tCoeaNBfHNBeWCkdihCtOvunNt9qFw2gFvFQ+d8CjU1+9rXuk2kWFsS2h3Tfm+gtXHew6dEc8lxlOmHrP9okc+/JyJkkvZ60lHp183Nmk5fPYMcfX8UutPgNIq3HCf27Fp5XLBzrXFlR88uIGGJYAK6x7XcfMavssQDoYNeKTmW4boNeY0E26P1Vl5x5jmc93AUMI/crT6A9sKAvtJaYpSSOCuVT2QSM0wc5nqXrSRgcaiM7ZBD9C75WhBXhx8CEWBUzcfbEnwi0Ip6x8epKc5BYn86tbPGuCoj2SnW/fGhFS/A/PBSyNtbczMAtEF+zb1oeexblNL1PEQQXEO/2lSmrXJlKsG6lCctKTwEbmlDP6TarJYyPxylBs3cdzk1a1PWnMaO27YwA1PqxllEAy9NSM9cd8F/pwVz71yExIsC+QUeAa55/Cl912BM91EcCRXYmcSa2XzUbtvX5D+/O0X21d69Kl3Jl/ZOqqvl/UzWr5o="
file_glob: true
#file: release/**/*
file: deploy/**/*
tag_name: $TRAVIS_TAG
target_commitish: ${TRAVIS_COMMIT}
name: Version ${TRAVIS_TAG}
# draft: true
on:
tags: true
repo: hbgit/Map2Check
branch: develop