Commit Graph

28 Commits

Author SHA1 Message Date
Yurii Rashkovskii 69474ce7a1
Problem: Travis CI job still takes too long and times out
Solution: remove bridge unit tests

In a pinch, integration tests are more important.
2018-06-15 20:52:16 -07:00
Yurii Rashkovskii 3282916b8c
Problem: Travis CI job takes too long (50 mins)
Solution: try to optimize test/build time by doing `release` only
instead of doing both `debug` and `release` targets
2018-06-15 18:01:41 -07:00
Yurii Rashkovskii da79a4a9c5
Problem: Travis CI fails to publish a build
Solution: correct a typo in path used to retrieve the build from
2018-06-15 15:53:10 -07:00
Yurii Rashkovskii d7b0f6d0ce
Problem: Travis CI fails
When trying to run Parity in integration tests, the following
error stops it:

```
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
```

Solution: use Snap to install Parity to attempt to avoid this problem
2018-06-15 15:07:42 -07:00
Yurii Rashkovskii 903c4c55bf
Problem: Travis CI fails
When trying to run Parity in integration tests, the following
error stops it:

```
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by parity)
parity: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by parity)
```

Solution: attempt to fix it getting the proper toolchain
2018-06-15 14:39:25 -07:00
Yurii Rashkovskii 3357134e02
Problem: Travis CI fails
```
cargo:warning=etc/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory
```

Solution: install libudev-dev
2018-06-15 14:22:54 -07:00
Yurii Rashkovskii dbc3bd80ab
Problem: Travis CI fails
Solution: use proper commands for running tests
2018-06-15 14:21:31 -07:00
Yurii Rashkovskii 5ea6bb185d
Problem: Travis CI fails
Solution: don't change directory before the script
2018-06-15 14:08:06 -07:00
Yurii Rashkovskii fabdede30e
Problem: Travis CI does a shallow clone
This is problematic becase it will affect the ability
to find tags.

Solution: disable shallow cloning
2018-06-15 14:07:00 -07:00
Yurii Rashkovskii 79fe3be8df
Problem: Travis CI fails
Solution: fix a mistake in the script
2018-06-15 14:05:32 -07:00
Yurii Rashkovskii 18301ae627
Problem: hard to get release builds
This involves cloning the repository, installing dependencies
and building the bridge.

Solution: [re-]establish CI to test & upload builds
2018-06-15 14:01:21 -07:00
Maximilian Krüger c9aeba3586 .travis.yml: run integration tests as part of stable, beta and nightly 2018-01-22 14:35:54 +01:00
Maximilian Krüger 9f5ff425de make integration test a proper rust test 2018-01-22 14:35:54 +01:00
Maximilian Krüger 5c565fd69d .travis.yml: run cargo tests with backtrace for more context on failure 2018-01-22 14:35:54 +01:00
Maximilian Krüger 27eaa45a29 .travis.yml: grant executable rights on downloaded parity binary 2018-01-22 14:35:54 +01:00
Maximilian Krüger 3bbebd208f .travis.yml: copy to $HOME/bin instead of /usr/local/bin 2018-01-22 14:35:54 +01:00
Maximilian Krüger 241f4a87b3 .travis.yml: one line parity installer fails. trying binary 2018-01-22 14:35:54 +01:00
Maximilian Krüger 60a1eeaf08 .travis.yml: install parity for integration tests 2018-01-19 14:59:28 +01:00
Maximilian Krüger 303cf4ed84 .travis.yml: run integration test on travis 2018-01-19 14:55:14 +01:00
Maximilian Krüger e0ab9f1a4f .travis.yml: add `-y` to apt commands installing solc to run them noninteractively 2018-01-18 13:09:38 +01:00
Maximilian Krüger ccaac25d2f compile contracts in build.rs and remove compiled from git so they don't get out of sync 2018-01-18 12:53:02 +01:00
snd 63b0745ea0 Issue 58 solidity test code coverage (#70)
* add initial package.json with test, ci and coverage scripts

inspired by 86794a866b/package.json

* .travis.yml: use ci script from package.json

* upload coverage to coveralls

* README.md: add coveralls badge

* .travis.yml: run npm install

* package.json: make ganache ports match up so truffle can connect

* .travis.yml: call coveralls script directly

* README.md: try to put badges on one line [ci skip]

* README.md: try to fix badge formatting [ci skip]

* package.json: remove directories prop which is not needed

* add notice that code coverage is for contracts only

* .gitignore: node_modules

* package.json: improve description

* package.json: add license

* package.json: replace npm with yarn

* .travis.yml: use yarn instead of npm

* add yarn.lock

* .travis.yml: cache cargo to speed things up
2017-12-14 17:52:36 +01:00
Maximilian Krüger 8095fda3e3 enable rust tests again 2017-12-12 17:02:13 +01:00
Maximilian Krüger ac9745d36d remove need for package.json for now 2017-12-12 16:59:39 +01:00
Maximilian Krüger 2e5da3e9cd change quoting of concurrent commands. see if that works 2017-12-12 16:57:29 +01:00
Maximilian Krüger 85a2c63e16 first attempt at running truffle tests on travis 2017-12-12 16:53:15 +01:00
debris fa962565ad repo overhaul, separated binary from library, closes #10, added tests crate 2017-08-25 00:36:13 +02:00
debris dd0596a083 added .editorconfig, README.md and .travis.yml 2017-08-24 18:34:49 +02:00