Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature ci test travis stages #11

Merged
merged 131 commits into from
Jul 3, 2018
Merged
Show file tree
Hide file tree
Changes from 127 commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
4a65919
test stages
fpelliccioni Jun 28, 2018
54b93ef
OSs
fpelliccioni Jun 28, 2018
8d365f3
OSs 2
fpelliccioni Jun 28, 2018
2be2281
OSs 3
fpelliccioni Jun 28, 2018
3eca21e
OSs 4
fpelliccioni Jun 28, 2018
3d917f4
OSs 5
fpelliccioni Jun 28, 2018
c9443dd
OSs 6
fpelliccioni Jun 28, 2018
c3b7eaa
stages test 1
fpelliccioni Jun 28, 2018
bc6a765
stages test 1
fpelliccioni Jun 28, 2018
3bbc174
stages test 2
fpelliccioni Jun 28, 2018
30f8f6e
stages test 3
fpelliccioni Jun 28, 2018
d2904d2
stages test 4
fpelliccioni Jun 28, 2018
269b437
stages test 5
fpelliccioni Jun 28, 2018
5cc22ec
stages test 6
fpelliccioni Jun 28, 2018
4e0d66f
stages test 6
fpelliccioni Jun 28, 2018
e85e521
stages test 7
fpelliccioni Jun 28, 2018
dadcf3e
stages test 8
fpelliccioni Jun 28, 2018
e8d8e32
stages test 9
fpelliccioni Jun 28, 2018
6cdc926
conditional run of jobs
fpelliccioni Jun 28, 2018
f97497d
some changes 10
fpelliccioni Jun 28, 2018
4d1960c
some changes 11
fpelliccioni Jun 28, 2018
8f8f1d6
some changes 12
fpelliccioni Jun 28, 2018
ddc60c3
some changes 13
fpelliccioni Jun 28, 2018
4ab8d51
add versioning functionality
fpelliccioni Jun 29, 2018
cad33ac
add versioning functionality 2
fpelliccioni Jun 29, 2018
985bbc2
add versioning functionality 4
fpelliccioni Jun 29, 2018
1df6142
add versioning functionality 5
fpelliccioni Jun 29, 2018
976fb9f
add versioning functionality 6
fpelliccioni Jun 29, 2018
b77ae48
add versioning functionality 7
fpelliccioni Jun 29, 2018
f15c197
add versioning functionality 8
fpelliccioni Jun 29, 2018
f18159e
add versioning functionality 9
fpelliccioni Jun 29, 2018
a672281
fix for Python 3
fpelliccioni Jun 29, 2018
acbcfec
passing environment variables to docker
fpelliccioni Jun 29, 2018
cc8b1ac
fixes
fpelliccioni Jun 29, 2018
ae0bcde
Merge branch 'feature_ci_test_travis_stages' of github.com:bitprim/se…
fpelliccioni Jun 29, 2018
9e10121
test for travis 1
fpelliccioni Jun 29, 2018
e49a3ce
test for travis 2
fpelliccioni Jun 29, 2018
f18bae4
test for travis 3
fpelliccioni Jun 29, 2018
54f9eda
test for travis 4
fpelliccioni Jun 29, 2018
9f5088a
test for travis 5
fpelliccioni Jun 29, 2018
2f38cd1
test for travis 6
fpelliccioni Jun 29, 2018
4ce3915
test for travis 7
fpelliccioni Jun 29, 2018
ccd7394
test for travis 8
fpelliccioni Jun 29, 2018
56dd4c6
test for travis 9
fpelliccioni Jun 29, 2018
a9cc8ba
test for travis 10
fpelliccioni Jun 29, 2018
7ef3c8e
test for travis 11
fpelliccioni Jun 29, 2018
23aacc5
test for travis 12
fpelliccioni Jun 29, 2018
b239700
test for travis 13
fpelliccioni Jun 29, 2018
e9707c8
test for travis 14
fpelliccioni Jun 29, 2018
a39eaaf
test for travis 15
fpelliccioni Jun 29, 2018
594565a
test for travis 16
fpelliccioni Jun 29, 2018
2d0404c
test for travis 17
fpelliccioni Jun 29, 2018
745963d
test for travis 18
fpelliccioni Jun 29, 2018
a117f0d
test for travis 19
fpelliccioni Jun 29, 2018
834c055
test for travis 20
fpelliccioni Jun 29, 2018
5cb903f
test for travis 21
fpelliccioni Jun 29, 2018
f6955d4
test for travis 22
fpelliccioni Jun 29, 2018
ee0adc8
test for travis 23
fpelliccioni Jun 29, 2018
4848c3b
remove logs
fpelliccioni Jun 29, 2018
1781e0b
test what happens on macOS
fpelliccioni Jun 29, 2018
0e21321
push to repos using CI APIs
fpelliccioni Jun 29, 2018
a0b1922
test for travis 28
fpelliccioni Jun 29, 2018
0df6d76
calling python after activate pyenv on macOS
fpelliccioni Jun 29, 2018
194f046
calling python after activate pyenv on macOS 2
fpelliccioni Jun 29, 2018
64e0722
removing logs
fpelliccioni Jun 29, 2018
a5f3622
adding message to travis build trigger
fpelliccioni Jun 30, 2018
2c9ac16
adding march support
fpelliccioni Jul 1, 2018
51134fd
some march useful functions
fpelliccioni Jul 2, 2018
7cd3dea
fix march
fpelliccioni Jul 2, 2018
30266fc
fix march 2
fpelliccioni Jul 2, 2018
725322a
not propagate march
fpelliccioni Jul 2, 2018
8b45da2
propagate skylake to GMP
fpelliccioni Jul 2, 2018
3b20d70
fix GCC supported marchs
fpelliccioni Jul 2, 2018
f1a2ecc
fix GCC supported marchs 2
fpelliccioni Jul 2, 2018
6c639ea
fix GCC supported marchs 3
fpelliccioni Jul 2, 2018
5872c0e
syntax fix
fpelliccioni Jul 2, 2018
132d778
added clang compilers
fpelliccioni Jul 2, 2018
38276a7
added apple-clang compilers
fpelliccioni Jul 2, 2018
873cf1b
print march user setting on config_options()
fpelliccioni Jul 2, 2018
8beded6
add support for MSVC
fpelliccioni Jul 2, 2018
1d874c1
fix
fpelliccioni Jul 2, 2018
908bf8b
fix MSVC
fpelliccioni Jul 2, 2018
b685dfc
remove goldbot from clang 4.0
fpelliccioni Jul 2, 2018
4faac84
disabling some compilers for the moment
fpelliccioni Jul 2, 2018
581265e
adjust apple-clang 7.3 and 8.3
fpelliccioni Jul 2, 2018
ec517a6
added support for mingw as a separte compiler
fpelliccioni Jul 2, 2018
9c2bf70
add mingw to the dictionary, fix
fpelliccioni Jul 2, 2018
af0607a
print settings
fpelliccioni Jul 2, 2018
17c809f
fix OS on build.py
fpelliccioni Jul 2, 2018
3ec0343
remove skylake from Apple-Clang 7.3
fpelliccioni Jul 2, 2018
952b896
remove icelake-server from mingw 8
fpelliccioni Jul 2, 2018
d87643c
remove MSVC from appveyor
fpelliccioni Jul 2, 2018
c893fdd
fix
fpelliccioni Jul 2, 2018
2834c23
add mingw 5 and 6
fpelliccioni Jul 2, 2018
06e8135
fix
fpelliccioni Jul 2, 2018
9f399c7
remove cannonlake from apple-clang 7.3
fpelliccioni Jul 2, 2018
354a5b3
remove skylake-avx512 from several compilers
fpelliccioni Jul 2, 2018
7c47b72
function that cleans a list of extensions
fpelliccioni Jul 2, 2018
23e28f9
python runtime error fixed
fpelliccioni Jul 2, 2018
edbf84a
fix msvc_to_ext
fpelliccioni Jul 2, 2018
061a5f5
test appveyor conditional matrix [skip travis]
fpelliccioni Jul 2, 2018
5c347ea
fix march alias translation
fpelliccioni Jul 2, 2018
05500bb
full build for the moment
fpelliccioni Jul 2, 2018
6987589
build hotfix branches appveyor
fpelliccioni Jul 2, 2018
6e0a4a6
remove logs
fpelliccioni Jul 2, 2018
4371544
remove logs
fpelliccioni Jul 2, 2018
bd622cb
disable full builds
fpelliccioni Jul 2, 2018
9cfd0a3
copy the behaviour of travis
fpelliccioni Jul 2, 2018
5b406fe
Merge pull request #10 from fpelliccioni/feature_ci_test_travis_stages
fpelliccioni Jul 2, 2018
127aadf
Merge branch 'feature_ci_test_travis_stages' into merge_to_dev
fpelliccioni Jul 2, 2018
35b3dc1
changes taken from bitprim-core
fpelliccioni Jul 3, 2018
47e5f7c
fix_march exception removed
fpelliccioni Jul 3, 2018
3cb2b54
trying to import from the same dir
fpelliccioni Jul 3, 2018
b7a1c14
changing import scheme
fpelliccioni Jul 3, 2018
f1dd886
changing import scheme 2
fpelliccioni Jul 3, 2018
05a4a55
changing import scheme 3
fpelliccioni Jul 3, 2018
58dee9d
changing import scheme 4
fpelliccioni Jul 3, 2018
bc0289f
changing import scheme 5
fpelliccioni Jul 3, 2018
0a82207
changing import scheme 6
fpelliccioni Jul 3, 2018
eb35d16
reset patch version to 0 when increment the minor
fpelliccioni Jul 3, 2018
cbbd973
upload aliases
fpelliccioni Jul 3, 2018
9c3c684
update readme [skip ci]
fpelliccioni Jul 3, 2018
ead11b3
dummy build on master
fpelliccioni Jul 3, 2018
94effdc
fix upload alias install
fpelliccioni Jul 3, 2018
e4007b7
appveyor fix
fpelliccioni Jul 3, 2018
32d5f06
fixes
fpelliccioni Jul 3, 2018
f01c6cc
fixes 2
fpelliccioni Jul 3, 2018
f71c203
fix the alias creation
fpelliccioni Jul 3, 2018
276410f
adjust building stuff
fpelliccioni Jul 3, 2018
4d231f5
naming stuff
fpelliccioni Jul 3, 2018
474443d
remove GCC 7 for normal builds
fpelliccioni Jul 3, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 113 additions & 58 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
branches:
only:
- master
# - /^v\d+\.\d+\.\d+$/
- dev
- /^v\d+\.\d+\.\d+$/
- /^release-\d+\.\d+\.\d+$/
- /^hotfix-\d+\.\d+\.\d+$/
- /^feature-ci-.+$/
- /^feature_ci_.+$/
- /^feature-appveyor-.+$/
Expand All @@ -35,92 +36,60 @@ environment:
PYTHON_VERSION: "2.7.8"
PYTHON_ARCH: "32"

matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
# init:
# - ps: Write-Host "common init script"

- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CONAN_VISUAL_VERSIONS: 14
# - ps: |
# if ($Env:APPVEYOR_REPO_BRANCH -ceq "master" -And [string]::IsNullOrEmpty($Env:APPVEYOR_REPO_TAG_NAME)) {
# Write-Host "branch is master without tags, exiting"
# Exit-AppveyorBuild
# }

# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# CONAN_VISUAL_VERSIONS: 12

# - MINGW_CONFIGURATIONS: "7@x86_64@seh@posix, 6@x86_64@seh@posix, 5@x86_64@seh@posix, 4.9@x86_64@seh@posix"

- MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
- MINGW_CONFIGURATIONS: "7@x86_64@seh@posix"
- MINGW_CONFIGURATIONS: "6@x86_64@seh@posix"
- MINGW_CONFIGURATIONS: "5@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "4.9@x86_64@seh@posix"


init:
# - echo "*******************************************************"
# - echo %APPVEYOR_REPO_TAG%
# - echo %APPVEYOR_REPO_BRANCH%
# - echo %APPVEYOR_REPO_TAG_NAME%
# - echo %APPVEYOR_REPO_COMMIT_MESSAGE%
# - echo "*******************************************************"

- ps: |
if ($Env:APPVEYOR_REPO_BRANCH -ceq "master" -And [string]::IsNullOrEmpty($Env:APPVEYOR_REPO_TAG_NAME)) {
Write-Host "branch is master without tags, exiting"
Exit-AppveyorBuild
}

# Note(fernando): It is implemented natively in Appveyor...
# if ($Env:APPVEYOR_REPO_COMMIT_MESSAGE -like "*\[skip appveyor\]*") {
# Write-Host "[skip appveyor] detected in commit message, exiting"
# Exit-AppveyorBuild
# }
# Note(fernando): It is implemented natively in Appveyor...
# if ($Env:APPVEYOR_REPO_COMMIT_MESSAGE -like "*\[skip appveyor\]*") {
# Write-Host "[skip appveyor] detected in commit message, exiting"
# Exit-AppveyorBuild
# }

install:
# - echo "*******************************************************"
# - echo %APPVEYOR_REPO_TAG%
# - echo %APPVEYOR_REPO_BRANCH%
# - echo %APPVEYOR_REPO_TAG_NAME%
# - echo %APPVEYOR_REPO_COMMIT_MESSAGE%
# - echo "*******************************************************"

- set PATH=%PATH%;%PYTHON%/Scripts/

- pip.exe install conan --upgrade
# - pip.exe install conan==1.0.0b5 #Fixed Beta version...

- pip.exe install conan_package_tools
- pip.exe install cpuid --upgrade

- conan user # It creates the conan data directory

test_script:

- git submodule init
# - git submodule update --remote
- git submodule update
# - dir *.*

# - git fetch --unshallow
# - export BITPRIM_BUILD_NUMBER="$(git describe)"
- for /f %%i in ('git describe') do set BITPRIM_BUILD_NUMBER=%%i
- echo %BITPRIM_BUILD_NUMBER%

# - echo %APPVEYOR_REPO_BRANCH%
# - dir *.*
# - cd

# - for /f %%i in ('git describe') do set BITPRIM_BUILD_NUMBER=%%i
# - echo %BITPRIM_BUILD_NUMBER%

- ps: |
$Env:BITPRIM_BRANCH = $Env:APPVEYOR_REPO_BRANCH

if ($Env:APPVEYOR_REPO_BRANCH -ceq "dev") {
$Env:BITPRIM_CONAN_CHANNEL = "testing"
$Env:BITPRIM_FULL_BUILD = 0
}
elseif ($Env:APPVEYOR_REPO_BRANCH.StartsWith("release")) {
$Env:BITPRIM_CONAN_CHANNEL = "stable"
$Env:BITPRIM_FULL_BUILD = 1
}
elseif ($Env:APPVEYOR_REPO_BRANCH.StartsWith("hotfix")) {
$Env:BITPRIM_CONAN_CHANNEL = "stable"
$Env:BITPRIM_FULL_BUILD = 1
}
elseif ($Env:APPVEYOR_REPO_BRANCH.StartsWith("feature")) {
$Env:BITPRIM_CONAN_CHANNEL = $Env:APPVEYOR_REPO_BRANCH
$Env:BITPRIM_FULL_BUILD = 0
}
else {
$Env:BITPRIM_CONAN_CHANNEL = "stable"
$Env:BITPRIM_FULL_BUILD = 1
}

# if ([System.IO.File]::Exists("conan_channel")) {
Expand All @@ -131,4 +100,90 @@ test_script:
# - dir *.*
# - echo %BITPRIM_CONAN_CHANNEL%

- python ci_utils/print_version.py

- for /f %%i in ('python ci_utils/print_version.py') do set BITPRIM_BUILD_NUMBER=%%i
- set BITPRIM_CONAN_VERSION=%BITPRIM_BUILD_NUMBER%
- echo %BITPRIM_BUILD_NUMBER%
- echo %BITPRIM_CONAN_VERSION%

- ps: |
if ([System.IO.File]::Exists("conan_version")) {
Write-Host "Creating conan_version file"
$Env:BITPRIM_BUILD_NUMBER | Out-File conan_version
}


- python build.py


for:
-
environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
-
branches:
only:
- /^(release|hotfix).+$/
environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CONAN_VISUAL_VERSIONS: 14
-
branches:
only:
- /^(release|hotfix).+$/
environment:
MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
-
branches:
only:
- /^(release|hotfix).+$/
environment:
MINGW_CONFIGURATIONS: "7@x86_64@seh@posix"
-
branches:
only:
- /^(release|hotfix).+$/
environment:
MINGW_CONFIGURATIONS: "6@x86_64@seh@posix"
-
branches:
only:
- /^(release|hotfix).+$/
environment:
MINGW_CONFIGURATIONS: "5@x86_64@seh@posix"
-
branches:
only:
- master
test_script:
- echo "Stable packages are published in Release branches"
install:
- echo "Stable packages are published in Release branches"


# MINGW_CONFIGURATIONS: "4.9@x86_64@seh@posix"

# matrix:
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# CONAN_VISUAL_VERSIONS: 15
# VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"

# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# CONAN_VISUAL_VERSIONS: 14

# - MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "7@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "6@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "5@x86_64@seh@posix"
# # - MINGW_CONFIGURATIONS: "4.9@x86_64@seh@posix"

# # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# # CONAN_VISUAL_VERSIONS: 12
# # - MINGW_CONFIGURATIONS: "7@x86_64@seh@posix, 6@x86_64@seh@posix, 5@x86_64@seh@posix, 4.9@x86_64@seh@posix"

# matrix:
# fast_finish: true # set this flag to immediately finish build once one of the jobs fails.

65 changes: 45 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

branches:
only:
# - master
- master
# - /^v\d+\.\d+\.\d+$/
- dev
- /^release-\d+\.\d+\.\d+$/
Expand Down Expand Up @@ -58,18 +58,10 @@ install:
fi

script:
# - python ci_utils/print_version.py
- export BITPRIM_BRANCH="${TRAVIS_BRANCH}"
- git fetch --unshallow
# - export BITPRIM_BUILD_NUMBER="$(git describe)"
# - export BITPRIM_BUILD_NUMBER="$(python ci_utils/print_version.py)"
# - export BITPRIM_CONAN_VERSION="${BITPRIM_BUILD_NUMBER}"
# - echo "${BITPRIM_BUILD_NUMBER}"
# - echo "${BITPRIM_CONAN_VERSION}"


- |
echo "${TRAVIS_BRANCH}"
if [[ "${TRAVIS_BRANCH}" = "dev" ]]; then
export BITPRIM_CONAN_CHANNEL="testing"
export BITPRIM_FULL_BUILD=0
Expand All @@ -86,8 +78,6 @@ script:
export BITPRIM_CONAN_CHANNEL="stable"
export BITPRIM_FULL_BUILD=1
fi
# echo "${BITPRIM_CONAN_CHANNEL}"
# echo "${BITPRIM_FULL_BUILD}"

# if [ ! -f conan_version ]; then
# echo "Creating conan_version file"
Expand All @@ -101,6 +91,7 @@ script:
./.travis/push_other_repo.sh
else
cd ${TRAVIS_BUILD_DIR}
ls -ltra ci_utils
chmod +x ci_utils/.travis/run.sh
./ci_utils/.travis/run.sh
fi
Expand All @@ -114,14 +105,7 @@ jobs:
# script:
# - chmod +x .travis/push_other_repo.sh
# - ./.travis/push_other_repo.sh

script: echo "Running checks (1)"
# script:
# - export BITPRIM_BRANCH="${TRAVIS_BRANCH}"
# - git fetch --unshallow
# # - export BITPRIM_BUILD_NUMBER="$(git describe)"
# - export BITPRIM_BUILD_NUMBER="$(python ci_utils/print_version.py)"
# - echo "${BITPRIM_BUILD_NUMBER}"

# Unit Tests ------------------------------------------------------
- stage: unit tests
Expand Down Expand Up @@ -247,14 +231,56 @@ jobs:
env: CONAN_APPLE_CLANG_VERSIONS=7.3
if: branch =~ /^(release|hotfix).+$/

# Upload Aliases -----------------------------------------------------
- stage: upload aliases
os: linux
sudo: required
language: python
python: "3.6"
# install: skip
script:
- |
cd ${TRAVIS_BUILD_DIR}
git fetch --unshallow

if [[ "${TRAVIS_BRANCH}" = "dev" ]]; then
export BITPRIM_CONAN_CHANNEL="testing"
elif [[ "${TRAVIS_BRANCH}" = "release"* ]]; then
export BITPRIM_CONAN_CHANNEL="stable"
elif [[ "${TRAVIS_BRANCH}" = "hotfix"* ]]; then
export BITPRIM_CONAN_CHANNEL="stable"
elif [[ "${TRAVIS_BRANCH}" = "feature"* ]]; then
export BITPRIM_CONAN_CHANNEL="${TRAVIS_BRANCH}"
else
export BITPRIM_CONAN_CHANNEL="stable"
fi
export BITPRIM_CONAN_VERSION="$(python ci_utils/print_version.py)"

- echo $BITPRIM_CONAN_VERSION
- echo $BITPRIM_CONAN_CHANNEL

- conan remote add bitprim_temp https://api.bintray.com/conan/bitprim/bitprim
- conan user
- conan user ${CONAN_LOGIN_USERNAME} -r bitprim_temp -p ${CONAN_PASSWORD}
- conan user
- conan alias "secp256k1/0.X@bitprim/${BITPRIM_CONAN_CHANNEL}" "secp256k1/${BITPRIM_CONAN_VERSION}@bitprim/${BITPRIM_CONAN_CHANNEL}"
- conan upload "secp256k1/0.X@bitprim/${BITPRIM_CONAN_CHANNEL}" --all -r bitprim_temp

# Push to repos ------------------------------------------------------
- stage: push to repos
install: skip
# script: echo "Running push to repos"
script:
- chmod +x .travis/push_other_repo.sh
- ./.travis/push_other_repo.sh
if: branch =~ /^(dev|feature).+$/

# Dummy for master ------------------------------------------------------
- stage: build and upload binaries
install:
- echo "Stable packages are published in Release branches"
script:
- echo "Stable packages are published in Release branches"
if: branch =~ /^master$/


# # Integration Tests ------------------------------------------------------
Expand All @@ -276,7 +302,6 @@ jobs:
# install: skip
# script: 'curl http://sf-stages-production.herokuapp.com'


notifications:
email: false
webhooks:
Expand Down
16 changes: 6 additions & 10 deletions .travis/push_other_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,17 @@ body="{
\"branch\": \"${BITPRIM_PUSH_BRANCH}\"
}"

curl -s -d "$body" -X POST -H "Authorization: Bearer ${APPVEYOR_TOKEN}" -H "Content-Type: application/json" https://ci.appveyor.com/api/builds
curl -s -d "$body" -X POST \
-H "Authorization: Bearer ${APPVEYOR_TOKEN}" \
-H "Content-Type: application/json" \
https://ci.appveyor.com/api/builds

body="{
\"request\": {
\"branch\":\"${BITPRIM_PUSH_BRANCH}\"
\"branch\":\"${BITPRIM_PUSH_BRANCH}\",
\"message\": \"Force by secp256k1 build: ${TRAVIS_BUILD_NUMBER}\"
}}"

# curl -s -X POST \
# -H "Content-Type: application/json" \
# -H "Accept: application/json" \
# -H "Travis-API-Version: 3" \
# -H "Authorization: token ${TRAVIS_TOKEN}" \
# -d "$body" \
# https://api.travis-ci.org/repo/bitprim%2Fbitprim-core/requests

curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Expand Down
Loading