Skip to content

Commit e2ac8b0

Browse files
committed
add CI
1 parent bb1957f commit e2ac8b0

3 files changed

Lines changed: 36 additions & 1 deletion

File tree

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: rust
2+
3+
rust:
4+
- stable
5+
- beta
6+
sudo: false
7+
before_script:
8+
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
9+
script:
10+
- cargo build
11+
notifications:
12+
email:
13+
on_success: never
14+
os:
15+
- linux
16+
- osx

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
#shadowsocks-rust
2+
[![Build Status](https://travis-ci.org/loggerhead/shadowsocks-rust.svg?branch=master)](https://travis-ci.org/loggerhead/shadowsocks-rust)
3+
[![Build status](https://ci.appveyor.com/api/projects/status/ti4hi7era48ltxq4?svg=true)](https://ci.appveyor.com/project/loggerhead/shadowsocks-rust)
4+
5+
16
#TODO
27

38
- [x] add cache for DNS
49
- [x] review `unwrap`, `.ok()``unimplemented`, `unreachable`
510
- [x] check if there exists `cannot decrypt` log
611
- [x] test with shadowsocks
7-
- [ ] remove unnecessary `clone` (maybe this is the cause of high CPU problem)
12+
- [x] remove unnecessary `clone` ~~(maybe this is the cause of high CPU problem)~~
813
- [ ] find the reason of high CPU (5% ~ 20%)
914
- [ ] handle the timeout situation of client
1015
- [ ] review `tcp_processor`

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
environment:
2+
matrix:
3+
- TARGET: x86_64-pc-windows-msvc
4+
install:
5+
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
6+
- rustup-init.exe -y --default-host %TARGET%
7+
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
8+
- rustc -V
9+
- cargo -V
10+
11+
build: false
12+
13+
test_script:
14+
- cargo build

0 commit comments

Comments
 (0)