@@ -9,45 +9,113 @@ sudo: required
99env :
1010 global :
1111 - SOLC_BASE_INSTALL_PATH=$TRAVIS_BUILD_DIR
12- - ALL_STDLIB_AND_GEVENT_TESTS="-e py27-stdlib -e py34-stdlib -e py35-stdlib -e py27-gevent -e py34-gevent -e py35-gevent"
13- matrix :
14- # Installation Tests
15- - SOLC_RUN_INSTALL_TESTS=enabled TOX_POSARGS="-e py27-installation -e py34-installation -e py35-installation"
12+ matrix :
13+ include :
14+ # lint
15+ - python : " 3.5"
16+ env : TOX_POSARGS="-e flake8"
17+ # installation
18+ - python : " 2.7"
19+ env : TOX_POSARGS="-e py27-installation"
20+ - python : " 3.4"
21+ env : TOX_POSARGS="-e py34-installation"
22+ - python : " 3.5"
23+ env : TOX_POSARGS="-e py35-installation"
1624 # solc 0.4.1
17- - SOLC_VERSION=v0.4.1 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
25+ - python : " 2.7"
26+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.1
27+ - python : " 3.4"
28+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.1
29+ - python : " 3.5"
30+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.1
1831 # solc 0.4.2
19- - SOLC_VERSION=v0.4.2 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
32+ - python : " 2.7"
33+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.2
34+ - python : " 3.4"
35+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.2
36+ - python : " 3.5"
37+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.2
2038 # solc 0.4.6
21- - SOLC_VERSION=v0.4.6 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
39+ - python : " 2.7"
40+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.6
41+ - python : " 3.4"
42+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.6
43+ - python : " 3.5"
44+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.6
2245 # solc 0.4.7
23- - SOLC_VERSION=v0.4.7 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
46+ - python : " 2.7"
47+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.7
48+ - python : " 3.4"
49+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.7
50+ - python : " 3.5"
51+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.7
2452 # solc 0.4.8
25- - SOLC_VERSION=v0.4.8 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
53+ - python : " 2.7"
54+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.8
55+ - python : " 3.4"
56+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.8
57+ - python : " 3.5"
58+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.8
2659 # solc 0.4.9
27- - SOLC_VERSION=v0.4.9 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
60+ - python : " 2.7"
61+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.9
62+ - python : " 3.4"
63+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.9
64+ - python : " 3.5"
65+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.9
2866 # solc 0.4.11
29- - SOLC_VERSION=v0.4.11 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
67+ - python : " 2.7"
68+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.11
69+ - python : " 3.4"
70+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.11
71+ - python : " 3.5"
72+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.11
3073 # solc 0.4.12
31- - SOLC_VERSION=v0.4.12 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
74+ - python : " 2.7"
75+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.12
76+ - python : " 3.4"
77+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.12
78+ - python : " 3.5"
79+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.12
3280 # solc 0.4.13
33- - SOLC_VERSION=v0.4.13 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
81+ - python : " 2.7"
82+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.13
83+ - python : " 3.4"
84+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.13
85+ - python : " 3.5"
86+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.13
3487 # solc 0.4.14
35- - SOLC_VERSION=v0.4.14 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
88+ - python : " 2.7"
89+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.14
90+ - python : " 3.4"
91+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.14
92+ - python : " 3.5"
93+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.14
3694 # solc 0.4.15
37- - SOLC_VERSION=v0.4.15 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
95+ - python : " 2.7"
96+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.15
97+ - python : " 3.4"
98+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.15
99+ - python : " 3.5"
100+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.15
38101 # solc 0.4.16
39- - SOLC_VERSION=v0.4.16 TOX_POSARGS=$ALL_STDLIB_AND_GEVENT_TESTS
40- # linting
41- - TOX_POSARGS="-e flake8"
102+ - python : " 2.7"
103+ env : TOX_POSARGS="-e py27-stdlib -e py27-gevent" SOLC_VERSION=v0.4.16
104+ - python : " 3.4"
105+ env : TOX_POSARGS="-e py34-stdlib -e py34-gevent" SOLC_VERSION=v0.4.16
106+ - python : " 3.5"
107+ env : TOX_POSARGS="-e py35-stdlib -e py35-gevent" SOLC_VERSION=v0.4.16
42108cache :
43109 - pip : true
44110before_install :
45111install :
46112 - travis_retry pip install setuptools --upgrade
47113 - travis_retry pip install tox
48- - pip3 install -e . # install py-solc globally in order to use the solc installation scripts.
114+ - pip --version
115+ - pip install -e . # install py-solc globally in order to use the solc installation scripts.
49116before_script :
50- - if [ -n "$SOLC_VERSION" ]; then python3 -m solc.install $SOLC_VERSION; fi
117+ - python --version
118+ - if [ -n "$SOLC_VERSION" ]; then python -m solc.install $SOLC_VERSION; fi
51119 - if [ -n "$SOLC_VERSION" ]; then export SOLC_BINARY="$SOLC_BASE_INSTALL_PATH/solc-$SOLC_VERSION/bin/solc"; fi
52120 - if [ -n "$SOLC_VERSION" ]; then export LD_LIBRARY_PATH="$SOLC_BASE_INSTALL_PATH/solc-$SOLC_VERSION/bin"; fi
53121 - env
0 commit comments