primes 0.3.0

A package for calculating primes using the Sieve of Eratosthenes, and using that to check if a number is prime and calculating factors. Includes an iterator over all primes.
Documentation
language: rust
rust:
  - nightly
  - beta
  - stable
env:
  global:
    # GH_TOKEN
    - secure: Pl+DwgrvHWXBK6LP87vPSqQST9rv1a+7as9dnnI099leV2eD3ZYJKL1aOJNLLhlmxcZ6gElm81nP+yXmFTbPXmYIQ7+Dtok1fz4lxcd04bUfb1fiQtJy+t+Z7kTxKa/mOKOT6a4VXoKsTKMps8H0mPAbmSDlEmLACv4V5x9t6As=
script:
  - cargo build --verbose
  - cargo test --verbose
  - cargo doc --verbose
  - '[ "$TRAVIS_RUST_VERSION" != "nightly" ] || cargo bench --verbose # adapted from rust-itertools'
  - mv target/doc doc

after_success: |
  [ "$TRAVIS_RUST_VERSION" = "beta" ] && 
  [ $TRAVIS_BRANCH = master ] && 
  [ $TRAVIS_PULL_REQUEST = false ] &&
  echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&
  pip install ghp-import --user $USER &&
  $HOME/.local/bin/ghp-import -n doc &&
  git push -f https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
notifications:
  email:
    on_success: never