mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-09-10 19:34:56 +02:00
Merge be9572fea9 into e9b7f78f78
This commit is contained in:
commit
954e49767d
22
circle.yml
22
circle.yml
@ -1,14 +1,30 @@
|
|||||||
|
---
|
||||||
|
machine:
|
||||||
|
pre:
|
||||||
|
# https://github.com/commercialhaskell/stack/issues/1658
|
||||||
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
|
||||||
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20
|
||||||
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10
|
||||||
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10
|
||||||
dependencies:
|
dependencies:
|
||||||
cache_directories:
|
cache_directories:
|
||||||
- "~/.stack"
|
- "~/.stack"
|
||||||
pre:
|
pre:
|
||||||
- wget https://github.com/commercialhaskell/stack/releases/download/v1.4.0/stack-1.4.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
|
- wget https://github.com/commercialhaskell/stack/releases/download/v1.6.1/stack-1.6.1-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
|
||||||
- tar xvzOf /tmp/stack.tar.gz stack-1.4.0-linux-x86_64/stack > /tmp/stack
|
- tar xvzOf /tmp/stack.tar.gz stack-1.6.1-linux-x86_64/stack > /tmp/stack
|
||||||
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
|
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
|
||||||
override:
|
override:
|
||||||
- stack setup
|
- stack setup
|
||||||
- stack build --flag yesod-auth-oauth2:example
|
- stack build
|
||||||
|
--pedantic
|
||||||
|
--test --no-run-tests
|
||||||
|
--flag yesod-auth-oauth2:example
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- stack test
|
- stack test
|
||||||
|
|
||||||
|
# Check compilation with nightly. If this proves problematic, add || true
|
||||||
|
# after to not fail the build.
|
||||||
|
- stack setup --resolver nightly
|
||||||
|
- stack build --resolver nightly --pedantic --test --no-run-tests
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
resolver: lts-9.5
|
---
|
||||||
|
resolver: lts-9.18
|
||||||
flags:
|
flags:
|
||||||
yesod-auth-oauth2:
|
yesod-auth-oauth2:
|
||||||
network-uri: true
|
network-uri: true
|
||||||
|
|||||||
@ -31,7 +31,7 @@ library
|
|||||||
, http-client >= 0.4.0 && < 0.6
|
, http-client >= 0.4.0 && < 0.6
|
||||||
, http-conduit >= 2.0 && < 3.0
|
, http-conduit >= 2.0 && < 3.0
|
||||||
, http-types >= 0.8 && < 0.10
|
, http-types >= 0.8 && < 0.10
|
||||||
, aeson >= 0.6 && < 1.2
|
, aeson >= 0.6 && < 1.3
|
||||||
, yesod-core >= 1.2 && < 1.5
|
, yesod-core >= 1.2 && < 1.5
|
||||||
, authenticate >= 1.3.2.7 && < 1.4
|
, authenticate >= 1.3.2.7 && < 1.4
|
||||||
, random
|
, random
|
||||||
@ -39,7 +39,7 @@ library
|
|||||||
, text >= 0.7 && < 2.0
|
, text >= 0.7 && < 2.0
|
||||||
, yesod-form >= 1.3 && < 1.5
|
, yesod-form >= 1.3 && < 1.5
|
||||||
, transformers >= 0.2.2 && < 0.6
|
, transformers >= 0.2.2 && < 0.6
|
||||||
, hoauth2 >= 1.3.0 && < 1.4
|
, hoauth2 >= 1.3.0 && < 1.6
|
||||||
, lifted-base >= 0.2 && < 0.4
|
, lifted-base >= 0.2 && < 0.4
|
||||||
, vector >= 0.10 && < 0.13
|
, vector >= 0.10 && < 0.13
|
||||||
, uri-bytestring
|
, uri-bytestring
|
||||||
@ -89,6 +89,7 @@ test-suite test
|
|||||||
, yesod-auth-oauth2
|
, yesod-auth-oauth2
|
||||||
, hspec
|
, hspec
|
||||||
, uri-bytestring
|
, uri-bytestring
|
||||||
|
other-modules: URI.ByteString.ExtensionSpec
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user