Skip to content

Commit

Permalink
modernize travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaykm committed May 27, 2016
1 parent d38609e commit 7767a1a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
28 changes: 11 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
language: cpp
compiler:
- clang
# Documentation: http:https://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- release
- nightly
notifications:
email: false
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia -y
- sudo apt-get install memcached
# uncomment the following lines to override the default test script
script:
- memcached -d
- julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir("Memcache"))`); Pkg.pin("Memcache"); Pkg.resolve()'
- julia -e 'using Memcache; @assert isdefined(:Memcache); @assert typeof(Memcache) === Module'
- julia ./test/test.jl
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("Memcache"); Pkg.test("Memcache")'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/tanmaykm/Memcache.jl.png)](https://travis-ci.org/tanmaykm/Memcache.jl)

A pure Julia client for memcached servers. All [memcached commands](https://code.google.com/p/memcached/wiki/NewCommands) as of memcached version 1.4.17 are implemented.
A pure Julia client for memcached servers. All [memcached commands](https://github.com/memcached/memcached/wiki/Commands) as of memcached version 1.4.17 are implemented.

Both numbers and strings are stored in plain string format so as to be interoperable with other memcached client libraries. Other Julia types are stored in their serialized form.

Expand All @@ -19,7 +19,7 @@ All methods are supported for both `MemcacheClient` and `MemcacheClients`, but r

Below is an illustration of using the most common commands.

````
````julia
julia> using Memcache

julia> # create a client connection
Expand Down
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using Memcache
using Base.Test

@test isa(Memcache, Module)

0 comments on commit 7767a1a

Please sign in to comment.