#------------------------------------------------------------------------------
# TravisCI configuration file for solidity.
#
# The documentation for solidity is hosted at:
#
# http://solidity.readthedocs.org
#
# ------------------------------------------------------------------------------
# This file is part of solidity.
#
# solidity is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# solidity is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with solidity. If not, see
#
# (c) 2016-2017 solidity contributors.
#------------------------------------------------------------------------------
language: cpp
branches:
# We need to whitelist the branches which we want to have "push" automation,
# this includes tags (which are treated as branches by travis).
# Pull request automation is not constrained to this set of branches.
only:
- develop
- release
- /^v[0-9]/
env:
global:
- ENCRYPTION_LABEL="6d4541b72666"
- SOLC_BUILD_TYPE=RelWithDebInfo
- SOLC_EMSCRIPTEN=Off
- SOLC_INSTALL_DEPS_TRAVIS=On
- SOLC_RELEASE=On
- SOLC_TESTS=On
- SOLC_STOREBYTECODE=Off
- SOLC_DOCKER=Off
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
env:
- ZIP_SUFFIX=ubuntu-trusty
- SOLC_STOREBYTECODE=On
- os: linux
dist: trusty
sudo: required
compiler: clang
env:
- ZIP_SUFFIX=ubuntu-trusty-clang
- SOLC_STOREBYTECODE=On
# Docker target, which generates a statically linked alpine image
- os: linux
dist: trusty
sudo: required
services:
- docker
env:
- SOLC_DOCKER=On
- SOLC_INSTALL_DEPS_TRAVIS=Off
- SOLC_RELEASE=Off
- SOLC_TESTS=Off
# Emscripten target, which compiles 'solc' to javascript and uploads the resulting .js
# files to https://github.com/ethereum/solc-bin. These binaries are used in Browser-Solidity
# and in other Ethereum web-based development contexts.
- os: linux
dist: trusty
sudo: required
compiler: gcc
node_js:
- "8"
services:
- docker
before_install:
- nvm install 8
- nvm use 8
- docker pull trzeci/emscripten:sdk-tag-1.35.4-64bit
env:
- SOLC_EMSCRIPTEN=On
- SOLC_INSTALL_DEPS_TRAVIS=Off
- SOLC_RELEASE=Off
- SOLC_TESTS=Off
- ZIP_SUFFIX=emscripten
- SOLC_STOREBYTECODE=On
# OS X Mavericks (10.9)
# https://en.wikipedia.org/wiki/OS_X_Mavericks
#
# Disabled because of problems on travis.
# - os: osx
# osx_image: beta-xcode6.2
# env:
# - ZIP_SUFFIX=osx-mavericks
# OS X Yosemite (10.10)
# https://en.wikipedia.org/wiki/OS_X_Yosemite
#
# - os: osx
# osx_image: xcode7.1
# env:
# # Workaround for "macOS - Yosemite, El Capitan and Sierra hanging?"
# # https://github.com/ethereum/solidity/issues/894
# - SOLC_TESTS=Off
# - ZIP_SUFFIX=osx-yosemite
# OS X El Capitan (10.11)
# https://en.wikipedia.org/wiki/OS_X_El_Capitan
#
# - os: osx
# osx_image: xcode7.3
# env:
# # The use of Debug config here ONLY for El Capitan is a workaround for "The Heisenbug"
# # See https://github.com/ethereum/webthree-umbrella/issues/565
# - SOLC_BUILD_TYPE=Debug
# # Workaround for "macOS - Yosemite, El Capitan and Sierra hanging?"
# # https://github.com/ethereum/solidity/issues/894
# - SOLC_TESTS=Off
# - ZIP_SUFFIX=osx-elcapitan
# macOS Sierra (10.12)
# https://en.wikipedia.org/wiki/MacOS_Sierra
#
# - os: osx
# osx_image: xcode8
# env:
# # Look like "The Heisenbug" is occurring here too, so we'll do the same workaround.
# # See https://travis-ci.org/ethereum/solidity/jobs/150240930
# - SOLC_BUILD_TYPE=Debug
# # Workaround for "macOS - Yosemite, El Capitan and Sierra hanging?"
# # https://github.com/ethereum/solidity/issues/894
# - SOLC_TESTS=Off
# - ZIP_SUFFIX=macos-sierra
git:
depth: 2
cache:
ccache: true
directories:
- boost_1_57_0
- $HOME/.local
install:
- test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh)
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
# Disable tests unless run on the release branch, on tags or with daily cron
#- if [ "$TRAVIS_BRANCH" != release -a -z "$TRAVIS_TAG" -a "$TRAVIS_EVENT_TYPE" != cron ]; then SOLC_TESTS=Off; fi
- SOLC_TESTS=Off
- if [ "$TRAVIS_BRANCH" = release -o -n "$TRAVIS_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt
before_script:
- test $SOLC_EMSCRIPTEN != On || (scripts/build_emscripten.sh)
- test $SOLC_DOCKER != On || (scripts/docker_build.sh)
- test $SOLC_RELEASE != On || (scripts/build.sh $SOLC_BUILD_TYPE
&& scripts/release.sh $ZIP_SUFFIX
&& scripts/create_source_tarball.sh)
script:
- test $SOLC_EMSCRIPTEN != On -o $SOLC_TESTS != On || (scripts/test_emscripten.sh)
- test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh)
- test $SOLC_STOREBYTECODE != On || (cd $TRAVIS_BUILD_DIR && scripts/bytecodecompare/storebytecode.sh)
deploy:
# This is the deploy target for the Emscripten build.
# It publishes the JS file which was compiled as part of the earlier 'build_emscripten.sh'
# step to https://github.com/ethereum/solc-bin/tree/gh-pages/bin.
# Both the build and deploy steps for Emscripten are only run within the Ubuntu
# configurations (not for macOS). That is controlled by conditionals within the bash
# scripts because TravisCI doesn't provide much in the way of conditional logic.
- provider: script
script: test $SOLC_EMSCRIPTEN != On || (scripts/release_emscripten.sh)
skip_cleanup: true
on:
branch:
- develop
- release
# This is the deploy target for the dockerfile. If we are pushing into a develop branch, it will be tagged
# as a nightly and appended the commit of the branch it was pushed in. If we are pushing to master it will
# be tagged as "stable" and given the version tag as well.
- provider: script
script: test $SOLC_DOCKER != On || (scripts/docker_deploy.sh)
skip_cleanup: true
on:
branch:
- develop
- release
- /^v\d/
# This is the deploy target for the native build (Linux and macOS)
# which generates ZIPs per commit and the source tarball.
#
# This runs for each tag that is created and adds the corresponding files.
- provider: releases
api_key:
secure: PWH37xVBCF0XiSjl+eH7XIdkrfxZXjzvqF4PiBOnD3VnFz+odrdnIwBmCeBYTHTWF8efpp8fmzWJk2UVq1JcpyZiC+SVxO8dx91W2ia1a+wKrEQuDgkUrZBkl5IQNCv0QS81DDQhliyZEaYh8wHO/7RReyMpGpw2U2u85WkFiZ+LdlHEZPfzUeh9lxQ9n8qwFL8Rja+Q05d4cQ8zaVEtofJJT4T6DUWhc3TzuxDYxOmjwg37rC9CkGSLn6VadSh8b3j5R0SZupFsAEvBL/imBLP9r9ewoo7o4p6By3jwiIgH9yNg7LM618xbffcNaYF/KtLBi9uPHfqF7hRD4PlECz+D0PR78nQItOX5HKm1QMg5kCnghRVCA0IVjpV5fiYQnMLM7dCRv34I5b3zLpa69wQ/GLYB2FViqNUfvPeiZTEeIJ2OmATlFx8AH2JoqpY1XJknWb35+vMfa8LSiJJW++SLWeV+ncC92hrvyZ1cy3trepRRZIfyYepxHifnfdWMkddQUJk5b2WS5Fy/TJLZNPeombnpvRhUC38dsYItarKeXTc6k4oADCEDZ2rgGIcEiqRxXV11Y5xHJekLDWzUs+YJNcCuL4pnAP//LOnbnH2w9rLpwhQYSl0anCd097NivAXQJXO2JI/byIYz1kiCVQWnW6EM8+72mLOklf/Qr8k=
overwrite: true
file_glob: true
file: $TRAVIS_BUILD_DIR/upload/*
skip_cleanup: true
on:
all_branches: true
tags: true
itgraph'>*
* Port updated to 0.1.41 | naddy | 2015-01-18 | 5 | -17/+32 |
* | Cleanup plist | bapt | 2014-10-20 | 1 | -12/+0 |
* | In some straightforward cases, protect documentation behind | adamw | 2014-08-04 | 2 | -19/+19 |
* | Support stage | bapt | 2014-05-08 | 2 | -14/+16 |
* | The FreeBSD x11@ and graphics team proudly presents | zeising | 2014-04-17 | 1 | -0/+1 |
* | Add NO_STAGE all over the place in preparation for the staging support (cat: ... | bapt | 2013-09-21 | 1 | -0/+1 |
* | - Fix i18n manpages | miwi | 2013-06-11 | 1 | -0/+3 |
* | - Convert USE_ICONV=yes to USES=iconv | mva | 2013-04-27 | 1 | -2/+1 |
* | - Convert USE_GETTEXT to USES (part 4) | ak | 2013-04-26 | 1 | -1/+1 |
* | Convert f* to USES=pkgconfig | bapt | 2013-04-23 | 1 | -2/+1 |
* | Finish converting french to new options framework | bapt | 2013-03-26 | 1 | -13/+10 |
* | - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) | amdmi3 | 2011-09-24 | 1 | -3/+2 |
* | Update to 0.1.33, which fixes the verb "chauvir". | naddy | 2011-07-25 | 3 | -4/+6 |
* | Always skip included intl, otherwise the build fails if gettext isn't | naddy | 2010-12-26 | 1 | -3/+15 |
* | * Update to 0.1.32. | naddy | 2010-12-23 | 5 | -43/+48 |
* | Sync to new bsd.autotools.mk | ade | 2010-12-04 | 1 | -1/+1 |
* | - Update to 0.1.31 | decke | 2010-09-13 | 3 | -6/+8 |
* | Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. | ade | 2010-05-31 | 1 | -0/+1 |
* | - Update to 0.1.27 | wen | 2009-10-19 | 2 | -4/+4 |
* | -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22. | mezz | 2009-08-03 | 1 | -1/+1 |
* | - Update to 0.1.24 | miwi | 2009-03-14 | 2 | -5/+4 |
* | Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. | rafan | 2008-08-21 | 1 | -1/+0 |
* | - Add optional Gnome support | tabthorpe | 2008-08-19 | 2 | -3/+17 |
* | Bump portrevision due to upgrade of devel/gettext. | edwin | 2008-06-06 | 1 | -0/+1 |
* | - Update to 0.1.23 | tabthorpe | 2008-06-03 | 3 | -15/+14 |
* | - Update to 0.1.22 | tabthorpe | 2008-02-19 | 4 | -16/+15 |
* | - Update to 0.1.21 | tabthorpe | 2007-12-20 | 3 | -4/+6 |
* | force commit for missed file. | tabthorpe | 2007-08-23 | 1 | -0/+15 |
* | - Update to 0.1.20 | tabthorpe | 2007-08-23 | 6 | -63/+24 |
* | - Update to 0.1.15 | miwi | 2006-12-30 | 2 | -6/+6 |
* | Reset maintainer at his request. | linimon | 2006-09-10 | 1 | -1/+1 |
* | - s,INSTALLS_SHLIB,USE_LDCONFIG,g | clsung | 2006-08-15 | 1 | -1/+1 |
* | Conversion to a single libtool environment. | ade | 2006-02-23 | 2 | -0/+2 |
* | Update to 0.1.14 | jylefort | 2005-12-16 | 2 | -4/+4 |