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
Showing
20 changed files
with
56 additions
and
151 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,61 +1,25 @@ | ||
# DO NOT EDIT: This file was generated using the following command: | ||
# github-tools/tools/expand-yaml hs-toxcore/.leaf.yml hs-toxcore/.travis.yml | ||
--- | ||
addons: | ||
apt: | ||
packages: | ||
- libsodium-dev | ||
- alex-3.1.7 | ||
- happy-1.19.5 | ||
- cabal-install-1.18 | ||
- ghc-7.8.4 | ||
sources: | ||
- sourceline: ppa:chris-lea/libsodium | ||
- hvr-ghc | ||
after_script: | ||
- rm -f $HOME/.cabal && ln -s $HOME/.cabal-tools $HOME/.cabal | ||
- rm -f $HOME/.ghc && ln -s $HOME/.ghc-tools $HOME/.ghc | ||
- hpc-coveralls hstox-0.0.1 | ||
branches: | ||
only: | ||
- master | ||
language: generic | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cabal-build | ||
- $HOME/.cabal-tools | ||
- $HOME/.ghc-build | ||
- $HOME/.ghc-tools | ||
env: CABALVER=1.18 GHCVER=7.8.4 | ||
- $HOME/.local | ||
- $HOME/.stack | ||
|
||
before_install: | ||
- export PATH=$HOME/.local/bin:$PATH | ||
- travis_retry curl -L https://github.com/TokTok/hs-tools/releases/download/v0.1/hs-tools-v0.1.tar.gz | tar xz -C $HOME | ||
|
||
install: | ||
- export PATH=$HOME/.cabal/bin:$PATH | ||
- export PATH=$HOME/.cabal-build/bin:$PATH | ||
- export PATH=$HOME/.cabal-tools/bin:$PATH | ||
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:$PATH | ||
- rm -rf $HOME/.cabal $HOME/.ghc | ||
- mkdir -p $HOME/.cabal-tools $HOME/.ghc-tools | ||
- rm -f $HOME/.cabal && ln -s $HOME/.cabal-tools $HOME/.cabal | ||
- rm -f $HOME/.ghc && ln -s $HOME/.ghc-tools $HOME/.ghc | ||
- cabal update | ||
- mkdir -p $HOME/.cabal-build $HOME/.ghc-build | ||
- rm -f $HOME/.cabal && ln -s $HOME/.cabal-build $HOME/.cabal | ||
- rm -f $HOME/.ghc && ln -s $HOME/.ghc-build $HOME/.ghc | ||
- cabal update | ||
language: generic | ||
# Where to find libraries. | ||
- export LD_LIBRARY_PATH=$HOME/.local/lib | ||
- export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig | ||
# libsodium | ||
- git clone --depth=1 --branch=stable https://github.com/jedisct1/libsodium | ||
- test -f $HOME/.local/lib/libsodium.so || (cd libsodium && ./configure --prefix=$HOME/.local && make install -j$(nproc)) | ||
|
||
script: | ||
- rm -f $HOME/.cabal && ln -s $HOME/.cabal-tools $HOME/.cabal | ||
- rm -f $HOME/.ghc && ln -s $HOME/.ghc-tools $HOME/.ghc | ||
- cabal install hpc-coveralls stylish-haskell hlint yaml-0.8.27 aeson-0.9.0.1 | ||
- curl https://raw.githubusercontent.com/TokTok/toktok-stack/master/tools/stylish-haskell-lhs | ||
-o $HOME/.cabal/bin/stylish-haskell-lhs | ||
- chmod +x $HOME/.cabal/bin/stylish-haskell-lhs | ||
- hlint . | ||
- stylish-haskell-lhs -i . | ||
- git diff --exit-code | ||
- rm -f $HOME/.cabal && ln -s $HOME/.cabal-build $HOME/.cabal | ||
- rm -f $HOME/.ghc && ln -s $HOME/.ghc-build $HOME/.ghc | ||
- cabal install --enable-tests --enable-benchmarks --only-dependencies ./ | ||
- if [ -n "" ]; then cabal install ; fi | ||
- cabal configure --enable-tests --enable-benchmarks --enable-library-coverage | ||
- travis_wait cabal test | ||
- cabal check | ||
sudo: required | ||
- stack --no-terminal test --coverage --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib | ||
- shc hstox testsuite |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,4 +1,3 @@ | ||
{-# LANGUAGE LambdaCase #-} | ||
{-# LANGUAGE Trustworthy #-} | ||
module Network.Tox.DHT.ClientListSpec where | ||
|
||
|
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
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
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
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
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
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,27 @@ | ||
packages: [.] | ||
resolver: lts-6.27 | ||
extra-deps: | ||
- QuickCheck-2.11.3 | ||
- base-orphans-0.5.4 | ||
- binary-conduit-1.2.5 | ||
- conduit-extra-1.2.3.2 | ||
- cpphs-1.20.8 | ||
- data-msgpack-0.0.12 | ||
- data-msgpack-types-0.0.2 | ||
- exceptions-0.10.0 | ||
- hspec-2.4.8 | ||
- hspec-core-2.4.8 | ||
- hspec-discover-2.4.8 | ||
- hspec-expectations-0.8.2 | ||
- integer-logarithms-1.0.2.1 | ||
- mmorph-1.1.2 | ||
- network-2.7.0.2 | ||
- network-msgpack-rpc-0.0.5 | ||
- parsec-3.1.13.0 | ||
- primitive-0.6.4.0 | ||
- quickcheck-io-0.2.0 | ||
- saltine-0.1.0.1 | ||
- scientific-0.3.6.2 | ||
- typed-process-0.2.2.0 | ||
- unliftio-core-0.1.1.0 | ||
- vector-0.12.0.1 |