-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from pipermerriam/piper/codebase-update-for-po…
…pulus-1.0 Updates for populus 1.0.0
- Loading branch information
Showing
73 changed files
with
10,573 additions
and
2,589 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
language: python | ||
python: | ||
- "3.5" | ||
dist: trusty | ||
sudo: required | ||
env: | ||
global: | ||
- SOLC_BINARY="$TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/solc" | ||
matrix: | ||
- TEST_DIR=accounting | ||
- TEST_DIR=call-state | ||
- TEST_DIR=canary | ||
- TEST_DIR=cancelling | ||
- TEST_DIR=claiming | ||
- TEST_DIR=data-registry | ||
- TEST_DIR=execution | ||
- TEST_DIR=scheduling | ||
cache: | ||
- pip: true | ||
- directories: | ||
- $HOME/.ethash | ||
- $TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/ | ||
- $TRAVIS_BUILD_DIR/solc-versions/solidity-0.3.6/build/ | ||
before_install: | ||
- sudo add-apt-repository -y ppa:ethereum/ethereum | ||
- sudo apt-get update | ||
install: | ||
- ./bin/install_solc.sh | ||
- travis_retry sudo apt-get install -y ethereum | ||
- travis_retry pip install setuptools --upgrade | ||
- pip install -r requirements.txt | ||
before_script: | ||
- ls -lah $TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/ | ||
- ./solc-versions/solc-0.3.6/solc --version | ||
- mkdir -p $HOME/.ethash | ||
- geth makedag 0 $HOME/.ethash | ||
script: | ||
- py.test tests/$TEST_DIR -v |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Install solc | ||
# | ||
|
||
set -e | ||
set -u | ||
|
||
if [ ! -e solc-versions/solidity-0.3.6/build/solc/solc ] ; then | ||
wget -O solc.tar.gz "https://github.com/ethereum/solidity/archive/v0.3.6.tar.gz" | ||
install -d solc-versions | ||
cd solc-versions | ||
tar -zxvf ../solc.tar.gz | ||
cd solidity-0.3.6 | ||
./scripts/install_deps.sh | ||
mkdir -p build | ||
cd build | ||
cmake .. && make | ||
ln -fs $PWD/solc/solc ../../../solc-versions/solc-0.3.6 | ||
chmod +x ../../../solc-versions/solc-0.3.6 | ||
echo "Geth installed at $PWD/solc-0.3.6" | ||
else | ||
echo "Geth already installed at $PWD/solc/solc-0.3.6" | ||
fi |
Oops, something went wrong.