-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eabc052
commit 102d7fc
Showing
264 changed files
with
2,996 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
language: python | ||
|
||
matrix: | ||
include: | ||
# - sudo: required | ||
# services: | ||
# - docker | ||
# env: | ||
# - PIP=pip | ||
# - PYTHON=python | ||
# - CIBW_BEFORE_BUILD_LINUX='yum install cmake -y' | ||
- os: osx | ||
language: generic | ||
compiler: gcc | ||
env: | ||
- PIP=pip2 | ||
- PYTHON=python2 | ||
|
||
script: | ||
- cd python | ||
- git describe --tags >VERSION | ||
- cp -r ../lib . | ||
- cp -r ../third_party . | ||
- cp ../test/atca_utils_sizes.c . | ||
- mkdir app | ||
- cp -r ../app/tng app | ||
- $PIP install wheel | ||
- $PYTHON setup.py sdist --dist-dir wheelhouse | ||
- $PIP install cibuildwheel | ||
- export CIBW_SKIP='cp34-*' | ||
- export CIBW_BUILD_VERBOSITY=3 | ||
- cibuildwheel --output-dir wheelhouse | ||
- | | ||
if [[ $TRAVIS_TAG ]]; then | ||
$PIP install twine | ||
$PYTHON -m twine upload wheelhouse/* --skip-existing | ||
fi | ||
language: python | ||
|
||
matrix: | ||
include: | ||
# - sudo: required | ||
# services: | ||
# - docker | ||
# env: | ||
# - PIP=pip | ||
# - PYTHON=python | ||
# - CIBW_BEFORE_BUILD_LINUX='yum install cmake -y' | ||
- os: osx | ||
language: generic | ||
compiler: gcc | ||
env: | ||
- PIP=pip2 | ||
- PYTHON=python2 | ||
|
||
script: | ||
- cd python | ||
- git describe --exclude v* --tags --abbrev=0 >VERSION | ||
- cp -r ../lib . | ||
- cp -r ../third_party . | ||
- cp ../test/atca_utils_sizes.c . | ||
- mkdir app | ||
- cp -r ../app/tng app | ||
- $PIP install wheel | ||
- $PYTHON setup.py sdist --dist-dir wheelhouse | ||
- $PIP install cibuildwheel | ||
- export CIBW_SKIP='cp34-*' | ||
- export CIBW_BUILD_VERBOSITY=3 | ||
- cibuildwheel --output-dir wheelhouse | ||
- | | ||
if [[ $TRAVIS_TAG =~ ^[0-9]+$ ]]; then | ||
$PIP install twine | ||
$PYTHON -m twine upload wheelhouse/* --skip-existing | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
cmake_minimum_required(VERSION 2.6.4) | ||
project (cryptoauthlib) | ||
|
||
# Set the current release version | ||
set(VERSION "2018.10.26") | ||
set(VERSION_MAJOR 2028) | ||
set(VERSION_MINOR 10) | ||
set(VERSION_PATCH 26) | ||
|
||
# Build Options | ||
option(BUILD_TESTS "Create Test Application with library" OFF) | ||
#set(ATCA_PKCS11 ON CACHE INTERNAL "") | ||
|
||
message(STATUS "Building Configuration: ${CMAKE_BUILD_TYPE}") | ||
|
||
|
||
if(BUILD_TESTS) | ||
set(ATCA_BUILD_SHARED_LIBS OFF CACHE INTERNAL "") | ||
endif(BUILD_TESTS) | ||
|
||
add_subdirectory(lib) | ||
|
||
# Tests | ||
if(BUILD_TESTS) | ||
add_subdirectory(test) | ||
endif(BUILD_TESTS) | ||
|
||
cmake_minimum_required(VERSION 2.6.4) | ||
project (cryptoauthlib) | ||
|
||
# Set the current release version | ||
set(VERSION "3.1.0") | ||
set(VERSION_MAJOR 3) | ||
set(VERSION_MINOR 1) | ||
set(VERSION_PATCH 0) | ||
|
||
# Build Options | ||
option(BUILD_TESTS "Create Test Application with library" OFF) | ||
#set(ATCA_PKCS11 ON CACHE INTERNAL "") | ||
|
||
message(STATUS "Building Configuration: ${CMAKE_BUILD_TYPE}") | ||
|
||
|
||
if(BUILD_TESTS) | ||
set(ATCA_BUILD_SHARED_LIBS OFF CACHE INTERNAL "") | ||
endif(BUILD_TESTS) | ||
|
||
add_subdirectory(lib) | ||
|
||
# Tests | ||
if(BUILD_TESTS) | ||
add_subdirectory(test) | ||
endif(BUILD_TESTS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.